News for hackers. Stuff that matters.
Re:Even more hindsight on Vim, Helix and Kakoune by xojoc on Thursday June 22, 2023 @07:50AM (#36430698)
Maybe it's done like that for performance reasons?
Re:Even more hindsight on Vim, Helix and Kakoune by messe on Thursday June 22, 2023 @08:22AM (#36431032)
I'm struggling to see how that function could be a bottleneck, and if it were, memoization would easily get rid of it without the ridiculous limitation.
Re:Even more hindsight on Vim, Helix and Kakoune by bobbyskelton41 on Thursday June 22, 2023 @01:38PM (#36435836)
It could be better for sure, but that function has been there for almost as long as the project has been open-source if I recall correctly. It probably hasn't been touched since then because it wasn't a high priority.