MaxMind-DB-Reader-ruby
MaxMind-DB-Reader-ruby copied to clipboard
Please implement MMAP_EXT mode from the python module
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.
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?
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.