News for hackers. Stuff that matters.
Re:I Wrote My Fastest Hashtable by dekhn on Monday February 27, 2017 @05:19PM (#13748926)
The documentation for std::hash in GCC clearly states the integral type identity property, gives a reason for it, and suggests it's not the best type for some circumstances.

That means it's not amateurish: it was an intentional decision, likely by somebody who implements hash functions for a living, who gave thought to what the appropriate default should be. It is a trivial perfect hash, of course.

Re:I Wrote My Fastest Hashtable by dkersten on Tuesday February 28, 2017 @08:43AM (#13753639)
ot didn't say that GCC's std::hash is amateurish, (s)he said that the article is: "...this is an amateurish post and it should be taken with a grain of salt..."

(And clarified in another reply that it was meant only in respect to hash-tables, not the authors programming skill in general)

(s)he did call it an incredibly poor design choice, however. Which it may or may not be, regardless of whether GCC developers are amateurish or not.

Re:I Wrote My Fastest Hashtable by dekhn on Tuesday February 28, 2017 @09:05AM (#13753799)
Yes, I misread the post and the replies. You can sed my reply s/amateurish/poor design choice/ and the point stands.