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

Optimize ID selectors #4

Open
danvk opened this issue Oct 14, 2014 · 0 comments
Open

Optimize ID selectors #4

danvk opened this issue Oct 14, 2014 · 0 comments

Comments

@danvk
Copy link
Owner

danvk commented Oct 14, 2014

It might make sense to special-case simple ID selectors (e.g. .name), since these tend to be quite common.

For example, this command takes ~20 seconds to run on my machine:

jss .name comparea.geo.json

on a 23MB GeoJSON file. Setting --debug indicates that ~12s is spent running the selector, which seems crazy.

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

No branches or pull requests

1 participant