gustafl / lexeme

A new take on language learning.
1 stars 0 forks source link

Try variations on the auto-highlighter #109

Open gustafl opened 8 years ago

gustafl commented 8 years ago

It's possible that the current implementation of the auto-highlighter can be optimized. It's currently implemented using the TreeWalker. What happens if we implement it using NodeIterator, plain DOM or jQuery's traversal functions? Should we use regular expressions more? Try different solutions. Use the unit tests (#107) to make sure nothing breaks and use the benchmark (#108) to measure performance.