使用 PHP Framework 的效能問題

8/29/2008 From Gea-Suan Lin's BLOG
Summary: PHP Framework 裡會大量使用 require_once(),由於需要判斷是否載入過檔案,require_once() 會使用 realpath() 取得檔案實際路徑資訊當作判斷條件,而這點會有效能上的問題。
其他人其實也遇過,參考:PHP Performance tip: require versus require_once,其中 comment 的部份也說明了目前 Google 到...
Bookmark |  Comment |  Forward  |   | 
Comments:
- Comments