> What are you using the private slot for?  Is there a reason you can't 
> use object metadata instead (e.g. this is very performance-sensitive)?

Private slot holds the native wrapper object. Is there another way to keep a 
memory reference on a JSObject other than private slot or (indexed slots) ? 


> Also, what do you plan to do with objects that _do_ already have a 
> private slot and use it?

I've JS_HasPrivate check, if an object already has it then it's fine, I can use 
it. I don't need multiple private slots. 
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to