开发者

Autoloading all models in CodeIgniter

Are there any disadvantages to just putting all models in $autoload['model开发者_C百科'] instead of loading them only as necessary?


You might want to take a look at the CodeIgniter Profiler Class to see how your application performs auto-loading all models versus loading them only when needed. I'd recommend looking at execution time and memory usage.

Here is a similar question with some more suggestions for profiling your application. Codeigniter. Autoload models, will things get slower?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜