Compare the memory footprint with cppjieba
MnO2 opened this issue · 2 comments
MnO2 commented
- Using what tools to fairly calculate the memory usage?
- Compare the executable binary size as well.
MnO2 commented
awong-dev commented
Is there a real thing to compare here?
AFAICT, the only dynamic allocations are for the dictionary struct and then the hmm state struct. Most everything else seems stack-based, and O(k) where k = sentence length... I would be surprised if there was any real memory size diff that mattered...