Is it possible to store HHVM bytecode as a file?

可紊 提交于 2020-01-14 10:37:08

问题


Is there a way to save HHVM bytecode as a file, since HHVM uses JIT bytecode compilation instead of compiling? If not, are there any alternatives for modern PHP versions (5.5,5.6)?


回答1:


You can generate bytecode, which is saved in internal SQLite database and then switch on Repo.Authoritative mode, under which HHVM will only use bytecode from SQLite db and never touch source .php files. See http://hhvm.com/blog/4061/go-faster



来源:https://stackoverflow.com/questions/25815519/is-it-possible-to-store-hhvm-bytecode-as-a-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!