Repository navigation
Optimize JSON-Proto Conversion, Improve Memory Allocation, and Add Unit Tests - #5591
Conversation
timvisee
left a comment
There was a problem hiding this comment.
Thank you very much! 🙏
Out of curiosity, did you patch this to fix a measurable performance problem, or did you intend this to be just a nice to have?
Either way, thanks for the changes. I like the new loops with proper pre-allocation, and thanks for the tests.
Would you mind to run clippy to make the CI tests green. It may just be this one line below:
* mproved memory allocation by eliminating raw loops * Enhanced readability by reducing nesting and restructuring logic for clarity * Added tests to assert correctness and reliability of the JSON-Proto conversion process
77f755a to
8e8e1f2
Compare
Thanks, Tim for the feedback! 😊 I'm passionate about vector DBs and Rust, so I try to contribute to OSS whenever I can. Glad you liked the changes! 🚀 |
Whoops, there seem to be some more. Please run |
Apologies for the inconvenience - this is my first contribution. I've resolved the issues, and it should work now. Thanks for pointing it out! |
Thanks, guys! It’s my pleasure. 😊 |
agourlay
left a comment
There was a problem hiding this comment.
Thank you for the contribution 👏
…it Tests (#5591) * Optimize JSON-Proto conversion and add unit tests * mproved memory allocation by eliminating raw loops * Enhanced readability by reducing nesting and restructuring logic for clarity * Added tests to assert correctness and reliability of the JSON-Proto conversion process * Resolve clippy issues
All Submissions:
devbranch. Did you create your branch fromdev?New Feature Submissions:
cargo +nightly fmt --allcommand prior to submission?cargo clippy --all --all-featurescommand?Changes to Core Features: