logoalt Hacker News

azinman2yesterday at 4:25 PM2 repliesview on HN

Why not just use line numbers?


Replies

renewiltordyesterday at 4:39 PM

Forces you to read after every write. E.g. you edit line 15 to be two lines. Then now you need arithmetic for later vs earlier lines or you need to read full file to reindex by line number.

show 1 reply
giancarlostoroyesterday at 4:28 PM

I was wondering the same thing.