Skip to main content
3 events
when toggle format what by license comment
Dec 29, 2014 at 20:49 comment added supercat ...much faster than references to two distinct-but-identical strings of that length.
Dec 29, 2014 at 20:49 comment added supercat Even with things like network connection, what's important is not to maintain the GC-allocated objects associated with connections, but rather to maintain the set of connections which exist outside the GC-managed world. There are times when pooling objects themselves can be helpful; most of those stem from cases where a pair of references to the same object may be semantically equivalent to a pair of references to identical-but-distinct objects, but nonetheless have some advantages. For example, two references to the same fifty-thousand-character string may be checked for equality...
Oct 3, 2014 at 17:23 history answered Anthony Ananich CC BY-SA 3.0