amzn / pecos

PECOS - Prediction for Enormous and Correlated Spaces
https://libpecos.org/
Apache License 2.0
517 stars 105 forks source link

add fixed length str2int / asin str2int memory-mappable hashmap #295

Closed vpung closed 2 months ago

vpung commented 3 months ago

Issue #, if available: N/A

Description of changes: Added fixed length str2int and fixed length 10 str2int memory-mapped utility for ankerl hashmap.

Usage (Python-binding): Please refer to the added unittests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.