Consider
v8ObjectTemplate templ = ObjectTemplate::New(isolate);
templ->SetInternalFieldCount(100);
v8Object obj = templ->NewInstance(context).ToLocalChecked();
'obj' is stored as a Persistent on the heap. The plan is to keep
additional Values stored as internal fields. Some of these may be Reset()
which means house-keeping code for a list of available indices.
Questions:
1) Will this scheme degrade GC performance as opposed to having separate
Persistent handles for all of these additional Values?
2) What is limit on the number of internal fields?
Thanks.
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" 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/d/optout.