LMCandidateNode // Use GCD on load.

This commit is contained in:
ShikiSuen 2022-09-21 00:31:09 +08:00
parent 9a58893585
commit d3668d9f0b
1 changed files with 17 additions and 15 deletions

View File

@ -33,6 +33,7 @@ public class CandidateNode {
}
public static func load(url: URL) {
DispatchQueue.main.async {
//
var arrLines = [String.SubSequence]()
var fieldSlice = [Substring.SubSequence]()
@ -52,6 +53,7 @@ public class CandidateNode {
root = defaultSymbolRoot
}
}
}
// MARK: - Static data.