Skip to content

Optimization to "negated" function.#128

Open
naturalscienceuser wants to merge 1 commit intocjhutto:masterfrom
naturalscienceuser:master
Open

Optimization to "negated" function.#128
naturalscienceuser wants to merge 1 commit intocjhutto:masterfrom
naturalscienceuser:master

Conversation

@naturalscienceuser
Copy link
Copy Markdown

"negated" was made more concise and the NEGATE variable changed from a
list to a set to speed up membership checks. The function performs about twice as
fast in my rudimentary timeit tests.

"negated" was made more concise and the NEGATE variable changed from a
list to a set to speed up membership checks. The function performs about twice as
fast in my rudimentary timeit tests.
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

Successfully merging this pull request may close these issues.

1 participant