← Back to context

Comment by bluGill

6 hours ago

I watched that about 7 years ago when it first came out, and at an hour long I'm not about to watch it again... From what I can recall those are things that rarely are important. There is a cost, but in most real world code they only add a few nanoseconds - I have more important things to worry about.

As a firmware developer commonly operating on devices with 32MHz of cpu, i am offended sir.

  • If your doing firmware you probably shouldn't be doing much memory allocation at runtime anyway to prevent memory fragmentation.

  • Even at 32Mhz you typically have more important things to worry about. These nanoseconds are unlikely to add up - the overhead from the underlying new/delete is going to be much worse.