Sean Harvey
f69c2b0495
Improve performance of DataObject::db() with caching
...
In a usual CMS request, DataObject::db() is called potentially
thousands of times, calling Config::get() constantly for the same
uninherited statics, which is slow. This improves performance
by caching those into DataObject::$_cache_db
2012-11-08 10:38:16 +13:00
..
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-10-17 11:45:21 +13:00
2012-09-30 17:18:13 +13:00
2012-09-20 10:46:59 +02:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-20 10:46:59 +02:00
2012-11-08 10:38:16 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-10-15 20:40:38 +02:00
2012-09-30 17:18:13 +13:00
2012-06-27 16:09:31 +02:00
2012-09-30 17:18:13 +13:00
2012-04-15 10:50:19 +12:00
2012-09-30 17:18:13 +13:00
2012-10-24 14:44:14 +13:00
2012-09-30 17:18:13 +13:00
2012-07-20 14:51:12 +12:00
2012-04-27 15:54:14 +12:00
2012-04-27 15:54:14 +12:00
2012-10-03 15:34:39 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-20 10:46:59 +02:00
2012-07-20 14:51:12 +12:00
2012-07-13 11:37:35 +02:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-04-15 10:50:19 +12:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00