pjs
pjs copied to clipboard
Correct class naming for the inspector
Doing trick like proposed we are passing correct names to the inspector.
What is not good, I don't know how to check inspector behaviour correctly. Really I've checked it in the browser manually, so you might wish to improve the testcases.
This seems intriguing. I'd like to see some performance numbers on it though, since it introduces a string eval, and I'm not sure how that plays with VMs
The string eval may take some performance penalty, but I think it should not affect the production code noticable in this case, because this penalty will aply only to class (metaclass object) creation code, while the instance creation code should not be affected.
I believe that's true too, but I would like to see it tested and verified.