[Bug libstdc++/42381] New: deque shouldn't reserve that much memory

2009-12-15 Thread kraemer at informatik dot uni-kl dot de
In bits/stl_deque.h, line 80ff the minimal allocated size is set fixed to 512.
This should be configurable, at least via a macro.
In case of small memory systems (embedded devices) resveration of this amount
of memory is much too high.


-- 
   Summary: deque shouldn't reserve that much memory
   Product: gcc
   Version: 4.4.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kraemer at informatik dot uni-kl dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42381



[Bug libstdc++/42381] deque shouldn't reserve that much memory

2009-12-16 Thread kraemer at informatik dot uni-kl dot de


--- Comment #5 from kraemer at informatik dot uni-kl dot de  2009-12-16 
10:50 ---
thanks a lot.
in our scenario it showed 8 buckets to be the best. but this may vary by usage.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42381