I tried a small genetic algorithm with Zephir. I have the same version in PHP and in a .dll compiled using Zephir. The benchmark is disappointing: PHP ==> 1,325 ms Zephir ==> 1,258 ms
How come the performance gain is so small? Is there an option I should activate somewhere too get near-C performance?
(the same algorithm in Go completed in 259 ms, and 341 ms in Node)
Thank you all! :)