Commit 291f93d
authored
BUG: Reduce optimization memory footprint (kernc#884)
* Reduce memory footprint
Memoizing the whole stats made copies of contained `_strategy`,
which held duplicate references at least to whole data ...
Now we memoize just the maximization float value.1 parent 76d19df commit 291f93d
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1567 | 1567 | | |
1568 | 1568 | | |
1569 | 1569 | | |
1570 | | - | |
1571 | | - | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
1572 | 1577 | | |
1573 | 1578 | | |
1574 | 1579 | | |
1575 | 1580 | | |
1576 | 1581 | | |
1577 | 1582 | | |
1578 | | - | |
1579 | | - | |
| 1583 | + | |
1580 | 1584 | | |
1581 | 1585 | | |
1582 | 1586 | | |
| |||
0 commit comments