Better HN
topnewbestaskshowjobs
Log inSign up

LHxB

5 karma · joined Oct 14, 2016 (10y ago) · 5 submissions

Submissions

comment 7y ago · link · parent

This reminds me of Dürrenmatt's "Die Physiker "(https://en.wikipedia.org/wiki/The_Physicists).

While this has indeed very scary implications, one should be aware that if it's thinkable, eventually it will be thought (I'm paraphrasing here).

comment 7y ago · link · parent

I tried this at some points where I often have to allocate dynamic memory though I knew an upper bound (no static size, though). Got some nice (and easy) extra performance, thank you (and the others who replied to my comment) very much for the hint!

comment 7y ago · link · parent

Maybe in a logarithmic plot this would look differently, but it seems to me that std::vector performs quite well in particular for few elements. So why would I bother with smallVector if simple std::vector is on par in their (supposed) prime discipline?

comment 8y ago · link · parent

13 minutes -> 11 minutes: "Elapsed time goes down by 15%."

3:16 minutes -> 1:42 minutes: "We get a roughly 90% speedup in elapsed time."

What's the formula for the "speedup"? I think it would be more expressive if one would compare it in the same terms.

comment 10y ago · link · parent

Is someone aware of a similiar post replacing "Physics" with "Computer Science"?