puritys / nodejs-phplike

Porting PHP to Node.js
http://www.puritys.me/docs-blog/article-201
33 stars 12 forks source link

Improve the performance of function file_get_contents from ichiriac's suggestion. #2

Closed puritys closed 8 years ago

puritys commented 9 years ago

ichiriac: instead using sync functions that blocks nodejs events you could use node-fibers, or node-sync, should improve performances : https://github.com/ybogdanov/node-sync

puritys commented 9 years ago

ichiriac's Comments https://github.com/puritys/nodejs-phplike/commit/11fef453c598b41a2b23ae957cb2e6c609562d4e

puritys commented 8 years ago

Phplike will not support asynchronous functions in the future. I want to keep the coding of Phplike just look like the same with PHP.