I have 5Mb string and 5M objects that should reference it. So, if i write a.src = new String(s) instead of a.src = s, they will share it? 
@getify : in that case, only pointer to obj per ".src". /cc @DmitryBaranovsk
-
-
@slightlylate FWIW, surprised that: var s = "foo", S1 = new String(s), S2 = new String(s); would not copy "foo" twice. no? -
@getify why surprised? VM peeps are smaaaaart. - 1 more reply
New conversation -
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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.