Hacker News new | ask | show | jobs
by iudqnolq 1890 days ago
As are their benchmarks

> nft_ptr has negligible performance overhead compared to std::unique_ptr, as shown by this benchmark on our example program:

std::unique_ptr 0.005 seconds

nft_ptr 3 minutes

2 comments

I loved this section of the readme - I nearly choked I was laughing so hard.

That said, I don't really think 3 minutes is that terrible for what it's doing. But man the phrasing there tickled me.

It would be nice to have energy consumption benchmarks too...
And only one of these options costs $100s in gas fees.