bfs
bfs copied to clipboard
Use clone() in bfs_spawn() on Linux
clone()
can be much faster than fork()
. There are some subtleties though: http://ewontfix.com/7/
There is some work in progress on the clone branch. Initial benchmarking puts it around 30% faster for running small binaries like false
.