Ben PHP yineleme için kötü bir kapasiteye sahip olduğunu söyleyen insanlar son zamanlarda bir kaç yerde gördüm. Geçenlerde grafik geçişi için bir özyinelemeli php fonksiyon yazdım ve java kıyasla çok yavaş bulundu. Ben php genel java daha yavaştır, çünkü, çünkü yineleme ya da için php kapasitesinin olup olmadığını bilmiyorum.
Bazı googling bu ortaya çıkardı (http://bugs.php.net/bug.php?id=1901)
Cvs de [7 Ağustos 1999 12:25 UTC] zeev php nokta net nokta
PHP 4.0 (Zend) uses the stack for intensive data, rather than using the heap. That means that its tolerance recursive functions is significantly lower than that of other languages.
It's relatively easy to tell Zend not to use the stack for this data, and use the heap instead - which would greatly increase the number of recursive functions possible - in the price of reduced speed. If you're interested in such a setting, let me know, we may add a compile-time switch.
Ne php yoğun veri yığın kullanır söylemek demek? Php bir çalışma zamanı yığın kurmak değil mi? Ayrıca, php recursion diğer dillere göre çok daha yavaş olduğunu, genel olarak doğrudur? Ve tarafından ne kadar?
Teşekkürler!