|
|
| version 1.78, 2009/04/30 04:40:30 | version 1.79, 2009/05/23 04:29:18 |
|---|---|
| Line 95 public: | Line 95 public: |
| /// append to array | /// append to array |
| inline Array& operator+=(T src) { | inline Array& operator+=(T src) { |
| if(is_full()) | if(is_full()) |
| expand(fallocated>0?2:3); // 3 is PAF default, confirmed by tests | expand(fallocated>0? 2+fallocated/32 : 3); // 3 is PAF default, confirmed by tests |
| felements[fused++]=src; | felements[fused++]=src; |