News for hackers. Stuff that matters.
Re:Sentinels Can Be Faster by throwaway894345 on Wednesday September 09, 2020 @03:53PM (#24425191)
I agree. The framing of the article could have been clearer that (start, length) data structures are widely better for the general case, but that null terminated strings can be faster for certain niche cases.
Re:Sentinels Can Be Faster by klodolph on Wednesday September 09, 2020 @08:25PM (#24427594)
That is the framing of the article.
Re:Sentinels Can Be Faster by throwaway894345 on Thursday September 10, 2020 @11:13AM (#24433075)
I argued that the framing could have been clearer and you responded with "that is the framing". I don't think your response passes the type checker.
Re:Sentinels Can Be Faster by klodolph on Thursday September 10, 2020 @02:01PM (#24434882)
The framing is obvious from the title of the article. It's a short article. Adding a bunch of context and framing would make the article worse.

The problem is that when an article gets shared on HN, people hold it to unreasonable standards of clarity and correctness... the kind of standards that are usually only achieved with careful editing. It's appropriate to level that kind of criticism at a textbook or a Wikipedia article, but the feedback is unwelcome for simple blog posts like this.

There's also a weird current of pedantry here, like "I understood the article, but someone else might misunderstand, and so the article should be clearer."

Re:Sentinels Can Be Faster by throwaway894345 on Thursday September 10, 2020 @03:03PM (#24435486)
> people hold it to unreasonable standards of clarity and correctness.

I only said it would be better if it were clearer. I'm not arguing that it's unfit for HN or any other venue. You're reading much too far into this.

Re:Sentinels Can Be Faster by klodolph on Thursday September 10, 2020 @04:23PM (#24436212)
HN would be better off if people didn't nitpick the framing of articles. That's what I'm saying.
Re:Sentinels Can Be Faster by throwaway894345 on Saturday September 12, 2020 @11:41AM (#24453269)
That's certainly one possible opinion. Let's stay on topic though.
Re:Sentinels Can Be Faster by klodolph on Saturday September 12, 2020 @03:06PM (#24454654)
This isn't Usenet, HN doesn't have "topics".