Top all-time · #15156
Julien Jorge
Personal blog · julien.jorge.st/posts/enprogramming
Julien Jorge's personal blog at julien.jorge.st covers programming. Since 2022, 5 different Hacker News readers have linked it 6 times. It is still writing: the last post was on 2026-10-19, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers link this post on C++ performance, which switches std::map to std::unordered_map in a benchmarked program. Commenters debate whether that change addresses the real bottleneck.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
What Hacker News says?
If you look at part 1 [0], it is pretty clear that std::map is not THE major bottle neck. The whole program is pretty slow. The issues I see are: a lot of string copying instead of string views, splitting strings into vectors rather than splitting on demand, replacing on the same string repeatedly and collecting into a string before adding it to another string. It seems like their benchmark data has a lot of small l…
Comment linking /posts/en/effortless-performance-improvements-in-cpp/
on “Effortless Performance Improvements in C++: std:unordered_map”Submitted Effortless Performance Improvements in C++: std:vector as a story · 5 points
HN discussionSubmitted Book Review: Embracing Modern C++ Safely as a story · 3 points
HN discussionSubmitted Weight Gain and Perf Loss as a story · 2 points
HN discussionSubmitted Effortless Performance Improvements in C++: std:string_view as a story · 1 points
HN discussionSubmitted Effortless Performance Improvements in C++: std:unordered_map as a story · 1 points
HN discussion