Foundation Hashing: http://mjtsai.com/blog/2016/08/25/foundation-hashing/ … #mjtsaiblog
@Catfish_Man @grynspan @tapbot_paul Would be nice for it to use the length for NSData. I wonder why that wasn’t done.
-
-
@mjtsai@grynspan@tapbot_paul just an oversight afaik. Not all that many people hitting that code path. Should be a safe fix. -
@Catfish_Man Cool. For NSArray, seems obvious to pick a few elements to combine. Am I missing something? NSDictionary seems harder. -
@mjtsai@Catfish_Man Arrays containing mutable objects? -
@rosyna@Catfish_Man I think mutable objects make an array invalid as a key regardless of the hash function because they break equality. - Show more
-
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.
Michael Tsai
Jonathan Grynspan
David Smith
Rosyna Keller