MaxMind-DB-Reader-ruby icon indicating copy to clipboard operation
MaxMind-DB-Reader-ruby copied to clipboard

Please implement MMAP_EXT mode from the python module

Open seandilda opened this issue 5 years ago • 2 comments

Can you add an implementation of the MMAP_EXT mode that the python module has? I've noticed significant speedups in python code when switching to it and I'd love to have that option in ruby as well.

seandilda avatar Feb 20 '20 18:02 seandilda

Thanks for the feedback! Adding a C extension option is something we've discussed. As you say it would give a performance boost when used. Are you finding the performance is an issue in your use case?

horgh avatar Feb 20 '20 20:02 horgh

For the project I'm working on, the speed difference is important. For now I'm using https://github.com/fluent-plugins-nursery/geoip2_c as it has a compiled backend and a lot of the speed improvements I'm looking for.

seandilda avatar Feb 21 '20 13:02 seandilda