Re:PHP 7 Released
by brightball on Wednesday December 02, 2015 @10:28AM
(#10663483)
Unless something has changed, that's the equivalent of keeping the files in RAM but it doesn't maintain state and routes, etc so it still has to reprocess.
[ Parent
| on HN ]
Re:PHP 7 Released
by acveilleux on Wednesday December 02, 2015 @10:52AM
(#10663635)
That depends on implementation. The cache could be maintained in shared memory, an external process or disk files and in all cases can provide a significant speed up over reading in and compiling hundreds of files without burdening all workers with all compiled opcodes.
The current implementation uses shared memory.
In addition, that does not mean retaining all the variables and data, only the compiled opcodes and that's the bulk of the startup time.