Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

'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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant