It's getting clearer but less useful. So the Eternal object stores the index for me. Right? Doesn't that mean I have to now keep the Eternal object around in my code? How is keeping an Eternal around better than keeping a Persistent around?
It would be nice if the user could specify the unique index of the eternal. Then all I ever need to keep is a constant integer value. const MY_OBJECT_TEMPLATE_ID = 12345; No extra object to keep around. Once the Local is saved as an eternal I can get it back with a simple hash lookup (GetEternal()) Local<Object> local = Local<Object>::GetEternal(isolate, MY_OBJECT_TEMPLATE_ID ); How does that sound? -- -- 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/groups/opt_out.
