阅读背景:

如何在使用RealmSwift的最大匹配算法中修复这个内存问题?

来源:互联网 

I wrote my own maximum matching function in Swift to divide Chinese sentences into words. It works fine, except with abnormally long sentences the memory usage goes up over 1 gb. I need help figuring out how to modify my code so that there isn't this memory problem. I'm not sure if it has to do with how I am using RealmSwift or if it is my algorithm in general.I wrote my own maximum matching function in Swi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: