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

Profile and remove dead optimizations #109

Open
benjamingr opened this issue Jul 17, 2017 · 1 comment
Open

Profile and remove dead optimizations #109

benjamingr opened this issue Jul 17, 2017 · 1 comment

Comments

@benjamingr
Copy link

Hey, a lot of the performance optimizations here assume things about V8 that are no longer true with TurboFan.

This issue is to track and remove those eventually.

@lpinca
Copy link
Member

lpinca commented Jul 17, 2017

Yes, we need to revisit some micro optimizations once TF+I lands (8.2.0?).
For example we can use Object.create(null) directly now instead of

function Storage() {}
Storage.prototype = Object.create(null);

which is nice as it will remove some feature detection code reducing the library size.

If you want to help tracing and removing dead optimizations please do, it will be greatly appreciated :)

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

No branches or pull requests

2 participants