Skip to content

optimize .... #4

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

Open
milahu opened this issue Dec 9, 2020 · 0 comments
Open

optimize .... #4

milahu opened this issue Dec 9, 2020 · 0 comments

Comments

@milahu
Copy link
Owner

milahu commented Dec 9, 2020

native arrayset: an early optimization was added in mozilla#260

todo

  • unswitch all the functions
  • add benchmarks to tests

related: use map as cache? mozilla#308 mozilla#370

cache more results? like VLQ values (or use static lookup tales for VLQ characters?)

refactor with object-reuse in mind

use a different internal data structure? see Rich-Harris/sourcemap-codec#82

use asm.js optimizations deprecated

@milahu milahu changed the title optimize arrayset optimize .... Dec 9, 2020
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

1 participant