Hacker News new | ask | show | jobs
by slopinthebag 84 days ago
Are you sure the browser doesn't similarly cache it's own layout calculations?
1 comments

I'm sure the browser does do that, and plenty of other optimisations too!

This thing isn't trying to do standard text layout faster than the browser, it's trying to enable more exotic/dynamic/custom layouts while keeping reasonable performance. Take a look at the demos linked in the repo's readme; those are things which the browser's layout engine can't do on its own.