
On Mar 4, 2010, at 4:33 PM, Krzysztof KosiĆski wrote:
Well, the point is that the stock OSX toolchain is not good at all, it's broken.
I can live with the fix, but I cleaned it up slightly by moving the pointer hash definition into the compatibility header, and using all-uppercase for macros.
Thanks. The template cleanup especially is nice.
First question, which platforms use "# include <unordered>"? I see you removed that check outright. It had been in there because other projects included those.
I added a different implementation of pointer hashing taken from Boost
- it uses x + (x >> 3) rather than x directly.
So what are the performance differences you're seeing with that?
I was going to do some testing myself, but I'm not sure which things I should do to exercise it, and what numbers, data, etc. I should use to get some good idea. Do you think you can toss some rough test points (operations, upper and lower limits, etc) up on the wiki so we can address things well? Thanks.