Open cmathx opened 7 years ago
My machine has enough free memory, but parse() cost long time about 200ms. Do you find how to speed up the parse() interface? @cmathx
You can focus on mmap function in the resp. A little case costs much time is because mmap call method.
I use a machine with 64GB memory and it has only 12GB memory. I run a test with tagger->parse() and it costs long time about 150ms. But when I run a test in machine with enough free memory, it only costs 2-3ms. I find that most of the time spend on featureindex->buildFeatures(this) and buildLattice() operations.![image](https://cloud.githubusercontent.com/assets/5919493/22818147/86608632-efa6-11e6-8907-2508773f6560.png)