Just double-checked. At least as of SL, CFNumber uses an int as its own hash. Very bad hash distribution on many common kinds of data sets.
@grynspan I’m not saying it’s a good distribution, just that hash(i) != i.
-
@mjtsai Ah, here's why I'm confused now. Back in Tiger, there was no constant. Just "return (i > 0) ? (CFHashCode)(i) : (CFHashCode)(-i);"
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Jonathan Grynspan
Michael Tsai