David Bruant wrote:
I don't know for better, but I have a different way: make all objects proxies and for each of these proxy, store the property names as they come as trap arguments in an array. Returns this array for Object.getOwnPropertyNames/keys/for-in, etc.

Crazy expensive, I know, which is why I held on saying "better" :-)

Maybe the overhead is ok for tool-time.

Related: http://slang.soe.ucsc.edu/cormac/proxy.pdf (search for "taint").

/be
_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to