Join GitHub today
add getTokensBefore and getTokensAfter interface for efficient token lookup #735
From #574 (comment):
This should dramatically improve performance of the rules that use
Totally. From looking at the rules, it seems like the common use cases are:
I'm not sure if we need separate methods for each of these, but it would be nice to cover all the existing cases.