2 ms·
yes. care to elaborate? first thing that came to mind was "APC-style" (https://secure.php.net/manual/en/intro.apc.php https://secure.php.net/manual/en/intro.apc
by nchelluri 11y ago
yes. care to elaborate? first thing that came to mind was "APC-style" (https://secure.php.net/manual/en/intro.apc.php https://secure.php.net/manual/en/intro.apc.php) caches. but im not super up on deployment, i thought YARV was already supposed to achieve this.
- cheald 11y agoAPC exists because PHP reloaded source files each time a script was executed through your webserver. No such parallel exists in Ruby; once source files are loaded in a process, they stay loaded for that process. In theory it might allow for faster loading of Ruby code (more analogous to Python's .pyc files), but IIRC early experiments (in the early 2.0 days) showed it to be counterproductive in many cases.