-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is odict lightweight enough for mobile applications? #1012
Comments
Hi @tinyc0der! It should be – most of the heavy features like search, tokenization, and more are all behind Rust feature flags, so you can just import the features you need. Without any enabled extra features, the core library is only 17 KB, so I can't imagine it would add much bloat at all to your app :) |
Also, the first beta of v2.0 just landed on crates.io! https://crates.io/crates/odict |
thanks for your info. However, i need typing suggestion (or prefix search). I'm afraid that tantivy is heavy for mobile device. |
That's totally fair – I chose tantivy as it seems to be the most mature full-text solution for Rust. I wonder if there's any kind of middle ground that could be added as a feature, such as a lightweight prefix trie search. Under the hood Entries are just a hash map, so I imagine if you invoked the Rust SDK directly and wrote bindings for Flutter you'd be able to roll your own search functionality if you like. |
I’m considering using odict in a flutter mobile application and want to ensure it is suitable for this case.
The text was updated successfully, but these errors were encountered: