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

'in' filters can be slow when iterating with the returned filter function #8

Closed
dcervelli opened this issue Jan 27, 2016 · 0 comments
Closed

Comments

@dcervelli
Copy link

'in' filters are implemented with m, the number of elements in the filter, inline if statements. When calling the filter function while iterating over a list of features of length n this leads to O(m*n) run-time, which can be really slow.

mourner added a commit that referenced this issue Jan 29, 2016
mourner added a commit that referenced this issue Jan 29, 2016
mourner added a commit that referenced this issue Jan 29, 2016
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