Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate splitting generated bindings out of script #2151

Open
jdm opened this issue Apr 17, 2014 · 0 comments
Open

Investigate splitting generated bindings out of script #2151

jdm opened this issue Apr 17, 2014 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Apr 17, 2014

After #2101 lands, we have the notion of DOM method traits. We could conceivably move the bindings code out of script and thereby improve compilation time if the bindings code only used these traits. LTO might allow us to devirtualize the calls, thereby negating the performance hit of introducing virtual calls into one of the hottest paths. This doesn't solve the problem of passing trait objects to and from C code via SpiderMonkey, of course; it suggests a lot of unsafe casting :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.