-
Notifications
You must be signed in to change notification settings - Fork 11
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
v1 release planning suggestion #9
Comments
Published: ndx, ndx-index, ndx-query, ndx-compat and ndx-serializable. |
Tomorrow I'll try to optimize ndx-serializable data structures. I'll replace trie data structure for inverted index with two arrays: keys and values. gzip should be able to compress common prefixes for keys. |
I will not be able to try ndx with email-securely-app earlier than in a week or few, doing some refactoring and preparations for full-text feature enabling. Besides the initial implementation is not going to use serialization, but there is going to be such need. |
This release https://github.com/vladimiry/email-securely-app/releases/tag/v2.2.0 uses recently published |
Do you think it would be better if I move all code from Also, as you've noticed |
Also, I want to change |
It makes sense to me too.
Does it mean index will keep a reference to the original/full |
Only when
Yes, I understand that such use case is extremely important, I also using it in exactly the same way. |
Just a note. If a function gets a lot of arguments, especially if some of them are optional, it might wort considering turning arguments to a single object argument as generally going with an object as an argument is a more flexible option and more self-documented. |
I don't think that JIT in v8/others will inline this function and because of it escape analysis won't be able to figure out that it can remove this temporary allocation. Don't want additional memory allocation per each invocation since it is a low-level API. |
Sure. Thanks for thorough analyzing and approach to building this library. One of the reasons I didn't enable serialization for above-mentioned program with initial search feature release is that indexing and search work quite fast. |
Published in the Decided to keep it simple without any optional arguments,
|
The desktop app mentioned above is working well with the following versions:
I didn't notice a memory leaks. Closing the issue as resolved. |
I think it would make sense to pre-release
v1.0.0-beta1
first inbeta
npm channel. I'm going to try using it then for a while in this project https://github.com/vladimiry/email-securely-app, so that would be an addition beta testing before final release.The text was updated successfully, but these errors were encountered: