News for hackers. Stuff that matters.
Re:Show HN: A stab at building my own string diffing library by gus_massa on Thursday May 19, 2022 @01:32PM (#31437638)
Clicky:

TipeIt demo: https://typeitjs.com/build-your-own

Diff library: https://github.com/alexmacarthur/striff

The demos get's quite slow if I type too much. Is the search method linear or quadratic?

If I type too much without spaces, like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab" (that is an evil string for search) then in the typing box the text is wrapped but in the reply box the text is all in the same line and goes outside the box.

There are no comments on this comment yet.