eqdata / service-collection

1 stars 1 forks source link

Maintain a hash map of item names #3

Closed alexmk92 closed 7 years ago

alexmk92 commented 7 years ago

Current parse uses a basic regexp to extract item names, this can be unreliable as some sentences are highlighted as items too, using a hash map of items would give us O(1) lookup and should improve parser efficiency.