Viewing profile — ckennelly
ckennelly
HN member- Joined
- Wed, Aug 25, 2010, 9:00 PM UTC
- HN karma
- 62
- Public activity
- 17 items
- HN profile
- View on Hacker News ↗
About ckennelly
No profile information was provided.
Recent public activity
- story
- story
-
comment
Comment #35090479
It depends on your STL implementation's representation of string: https://godbolt.org/z/nMYGYoWbq * libstdc++ has an internal reference to its own address for the SSO. If the moved…
- story
-
comment
Comment #34621517
The default setting of max_ptes_none is also problematic. On a stock kernel, it's 511. TCMalloc's docs recommend using max_ptes_none set to 0 for this reason: https://github.com/go…
-
comment
Comment #29373784
As mentioned in that Stack Overflow post, though, things change again with FSRM (Fast Short Rep Mov). While there are still startup costs, the overhead of calling a function (espec…
-
comment
Comment #29206767
https://research.google/pubs/pub50338.pdf goes into more depth on the mem* libc functions and principles for the implementations in llvm libc.
-
comment
Comment #23636929
llvm-libc's memcpy is heavily sized optimized for this reason. A dedicated instruction that is fast for all cases, is ideal, though.
-
comment
Comment #23002569
You can still get a benefit from sized delete, even without inlining.
-
comment
Comment #23002561
Dynamic linking requires calling through the PLT to get to the implementation, so there's a data dependency on determining where the code for it is. Independent of inlining (with L…
-
comment
Comment #23002524
The cost in applications really does add up. "Profiling a warehouse-scale computer" (by S. Kanev, et. al.) showed several % of CPU usage allocating and deallocating memory. While a…
-
comment
Comment #22311055
This is the modern version--based on Abseil--that we use in production for practically every C++ binary. It includes a number of performance optimizations (per-CPU caches, an impro…
- story
-
comment
Comment #17956872
They're not confidence intervals, but weather.gov's forecasts include a link to the NWS office's forecast discussion (updated every few hours). This can give you a bit of insight i…
-
comment
Comment #8282663
Thanks for taking a look. To go through your points: * If the "wrong" GPG binary is loaded, the game is likely already up: If an attacker has that degree of control over your machi…
- story
- story