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.
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 usingNodeIterator
, 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.