I have a couple of general questions (still a newbie in Zephir, not knowing C, and thinking from high-level PHP programmer standpoint).
- Is this right that Zephir gets much slower (sometimes slower than PHP or not much faster) when it uses PHP functions/classes. (based on https://groups.drupal.org/node/456053 ). How much slower it can be. Or otherwise is it much, much faster when it doesn't use PHP functions/classes?
- If yes (is slower), is then there a way to use PHP functions in a way to increase performance, f.e. preg_mach, etc. (i think i will never implement on my own some regular expressions in Zephir :) )
- Is this tool https://github.com/fezfez/php-to-zephir 100% working/effective? I see ovr user is a contributor - i saw him from time to time on phalcon forums. What about performance after using it.
- What can be the difference in performance between skillfully optimised Zephir and not optimised Zephir class done by someone inexperienced?
I'am a bit ignorant on the matter so answers to these questions could give me and other (PHP especially) users a better overal picture and comprehend it better.