Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The C++ and Swift implementations use a node pool from the Apache Portable Runtime. This benchmark would be a lot more interesting if we got to see the price of C++'s RAII or Swift's reference counting.

The Swift Code looks like something you'd write in C.



> … the price of C++'s RAII…

Like this? (There are 8 other C++ binary trees programs.)

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

> … or Swift's reference counting.

Like this? (There are 4 other Swift binary trees programs.)

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...


You could ask the authors to update their study.

You could look at the different binary trees programs shown on the current benchmarks game.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: