snaptoken / leg

Tools for making step-by-step code walkthroughs
MIT License
130 stars 2 forks source link

Optimize tutorial rendering #26

Open paigeruten opened 6 years ago

paigeruten commented 6 years ago

This includes diff transforming (fast I think?), syntax highlighting (slow?), and rendering templates (fast?). Could probably bring back caching of some kind. It would be really nice if we could automatically detect cache invalidation and not require the user to pass -c whenever things can be loaded from cache.