https://bugs.llvm.org/show_bug.cgi?id=32435

            Bug ID: 32435
           Summary: std::deque default block size (4096) is too generous
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Hi,

I profiled STL containers in Chrome on Android and found that std::deque
(std::queue, std::stack) wastes considerable amount of memory because of its
4096-byte block size. I'm proposing changing block size to 512 bytes and min
block length to 1.

More info in the doc:
https://docs.google.com/document/d/1PEuPnSW54LaoWpUIEAHobqGt9nbD2DgQ_W5DdlJOkJU/edit#

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to