AlexanderSaydakov commented on issue #184: URL: https://github.com/apache/datasketches-cpp/issues/184#issuecomment-766160116
HllMap in Java exists to address the problem of object overhead. Imagine a HashMap from a standard Java library with tens or hundreds of thousands of pairs, say, Integer to HllSketch. Just the object overhead will take a lot of memory. There is no such problem in C++. Try something like std::unordered_map<int, hll_sketch>. I believe it should work fine. Please let us know if you encounter any problem. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
