Status: New
Owner: ----

New issue 2547 by [email protected]: Bigger javascript object retained size when adding properties in a loop.
http://code.google.com/p/v8/issues/detail?id=2547

If more than 15 properties are added to an object in a loop, it's retained size seems to grow 10 times more than if properties are added one by one. Retained size is the same of loop has 15 elements with an object with properties already defined but jumps as soon as the 16th property is added. This is true for string properties, if properties are integers only this doesn't happen.

See example code and screenshot.

Attachments:
        test.js  967 bytes
        snapshot1.png  48.1 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to