-
Notifications
You must be signed in to change notification settings - Fork 13
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
TODO: save the search result into a serializing binary file for fast downstream parsing #40
Comments
Would it not be better to infer from the output extension which is usually specified? Make it a .kmcp file or something similar. |
Empirically, few of these fields would require an int64 (at least none were close to int32 in a practical file) so that could also be potential space saving Edit: meant that int32 would probably be enough rather than int64 |
Yes, we can make the binary format the default output, and make the plain text format optional.
Right. I'll carefully consider it later. Thank you. |
The current tab-delimited search result format is redundant and inefficient for parsing in
kmcp profile
. So we can use a compact binary format to save the temporary result.kmcp search
: a flag-b/--binary-outpu
would be added to choose the output format optionally.kmcp view
should be added to convert the binary to plain text format.kmcp merge
needs to be compatible with both plain and binary formats.kmcp profile
needs to be compatible with both plain and binary formats.The text was updated successfully, but these errors were encountered: