ericleasemorgan / reader

Distant Reader, a tool for using & understanding a corpus
GNU General Public License v2.0
20 stars 7 forks source link

Use sets instead of lists #132

Closed dbrower closed 4 years ago

dbrower commented 4 years ago

This reduces the membership test from O(n) to O(1)

ericleasemorgan commented 4 years ago

Too easy.