@mjtsai @tapbot_paul If you find room for improvement in Foundation, I know a bug report would always be appreciated! // @Catfish_Man
-
-
- View other replies
-
@grynspan@mjtsai@tapbot_paul using the length is a good idea. We change that. - View other replies
-
@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. -
@mjtsai@rosyna@Catfish_Man Keys must conform to NSCopying; an array-as-key is made immutable. Mutable array contents mean UB.
-
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