Skip to content

Commit

Permalink
Change default PdoBddHandler cache & container length. For the best r…
Browse files Browse the repository at this point in the history
…atio memory_usage/execution_time (measured on PHP 7 with SQLite).

This may be largely function with memory_limit at 128M, and it's not longer.
  • Loading branch information
julien-boudry committed Jun 4, 2016
1 parent 5ae12c5 commit 2f6a6ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/DataManager/ArrayManager.php
Expand Up @@ -21,8 +21,8 @@ abstract class ArrayManager implements \ArrayAccess,\Countable,\Iterator

//////

protected static $CacheSize = 5000;
protected static $MaxContainerLength = 3000;
public static $CacheSize = 2000;
public static $MaxContainerLength = 2000;

protected $_Container = [];
protected $_DataHandler = null;
Expand Down

0 comments on commit 2f6a6ce

Please sign in to comment.