cyac icon indicating copy to clipboard operation
cyac copied to clipboard

compare it with other libraries

Open glacierck opened this issue 3 years ago • 1 comments

marisa-trie datrie

The above two projects are currently excellent projects. Can people who have used them help evaluate their direct differences?

glacierck avatar Aug 03 '23 02:08 glacierck

this library is based on cedar trie. for performance and trie size, author of cedar trie has compared other tries. please look at http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/cedar/#perf . the most important features of this library are

  1. it handles case insensitive match correctly. please take care that:
len(u"İstanbul") != len(u"İstanbul".lower()) 
  1. it supports python memory buffer protocol. https://docs.python.org/3/c-api/buffer.html . it's memory friendly for multi process program.

chenkovsky avatar Aug 03 '23 04:08 chenkovsky