Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make TokenList.value a property not an attribute.
The fact that a new value was being computed each time TokenList.group_tokens() was called caused supra-linear runtime when token grouping was enabled. Address by making TokenList.value a dynamically-computed property rather than a static attribute.
- Loading branch information