s_kanev

Joined 14 years ago

Karma
125
Submissions
25
Member since
Jan 11
Hardware/software person. To-be academic, somewhat of a nerd.

http://blog.skanev.org/

View on Hacker News

Recent submissions

Comment · 6 years ago
This was the case a few years back when the fastest pools were implemented with recursive data structures (e.g. linked lists for the freelists in gperftools).

In the new tcmalloc (and, I think, hoard?) the fastest pools are essentially slabs with bump allocation, so the fastest (and by far, the most common) calls are a grand total of 15 or so instructions, without many cache misses (size class lookups tend to stay in the cache). Call overhead can be a substantial chunk of that.

Comment · 6 years ago
Not OP, but I do (a fair amount of) HPDE/TT with an m240i, converted to the cup car spec.

Running costs for me are ~$500 / 2-hour day on 100-TW tires. These cars aren't exactly light, so they eat through consumables. Tires are the largest part, then repairs, then brakes. This doesn't count fuel.

If I had to guess for OP in PWC, 50-100% more, mostly driven by slick costs.

EDIT: added fuel note

Comment · 10 years ago
Comment · 11 years ago
Comment · 12 years ago
Comment · 12 years ago
My go-to practitioner: Jean-luc Doumont: http://www.principiae.be/X0302.php I highly recommend his talks (he tours universities in the US quite often) -- they are full of small practical nuggets on data presentation.
Comment · 12 years ago
Comment · 12 years ago
Ok, should've been more specific -- it doesn't catch any exceptions and lets them bring down the program and have the project maintainer check what they did wrong.
Comment · 12 years ago
OP here. Totally agree. TIL about RAII. That particular codebase doesn't use c++ exceptions, but still not a reason for a roll-your-own solution if something as efficient is in the standard library.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton