Closed eagleflo closed 3 years ago
Using jisho as a CLI tool still feels a bit too slow. All of the time is spent parsing the original JMdict XML file and creating the lookup HashMaps for jisho's own use.
jisho
HashMap
It looks like most of this work could be moved to compile time with the aid of https://doc.rust-lang.org/cargo/reference/build-scripts.html.
Using
jisho
as a CLI tool still feels a bit too slow. All of the time is spent parsing the original JMdict XML file and creating the lookupHashMap
s forjisho
's own use.It looks like most of this work could be moved to compile time with the aid of https://doc.rust-lang.org/cargo/reference/build-scripts.html.