Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python performs linear search over sequences if __contains__ is not explicitly implemented. This is painfully slow over large vocabularies, therefore implement __contains__ explicitly.
- Loading branch information