-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bulk allocate objects for nmslib index creation (#773)
For nmslib, we need to allocate objects that wrap vectors with metadata. This commit updates the objects to be allocated in one buffer as opposed to allocating objects individually. This was shown to prevent memory fragmentation. Signed-off-by: John Mazanec <jmazane@amazon.com>
- Loading branch information
1 parent
50a4b1f
commit ef44fca
Showing
3 changed files
with
36 additions
and
6 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