-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got rid of base64 encoding/decoding in ElastiKnnVectorFieldMapper (#37)
Finally figured out how to store the ElastiKnnVectors without encoding them as base64 strings. The trick was to only read up to the given length, even though the given byte array might be longer. This brings the Kosarak benchmark time (without caching) down to 52 seconds on my laptop. With caching is just over 30 seconds.
- Loading branch information
1 parent
fed9110
commit 9499527
Showing
4 changed files
with
42 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.0-PRE6 | ||
0.1.0-PRE7 |