fix https://github.com/maxmind/MaxMind-DB-Reader-java/issues/154#222
fix https://github.com/maxmind/MaxMind-DB-Reader-java/issues/154#222shawjef3 wants to merge 1 commit intomaxmind:mainfrom shawjef3:gt-2g
Conversation
|
Thanks for the pull request! In my testing of it, we take a pretty significant performance hit (~20-30%) with these changes. I am also not entirely sure about pulling in a separate dependency or reimplementing so much of At a high level, my hope for solving #154 was a bit different. I think we could still use a single |
|
You're welcome. It's possible there's room for optimization. It's also possible to make an interface that would let you switch between
This is what |
|
Also, can you point to some specific things that need optimization? I can look at them. |
|
Hello @oschwald . I made some benchmarks to see if I could find what is slow. I tried |
|
I was running the Benchmark code on both the old and new version. Putting aside the other concerns, the performance would need to be within a couple of percent of the current version for this to be considered. As mentioned above, I think this could be done different, without the third party dependency, so that there is almost no change in performance for databases under 2 GB. We would just have an extremely lightweight The tests are also failing. |
|
@oschwald what do you think of making |
No description provided.