https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942
--- Comment #43 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Dmitriy Ovdienko from comment #41) > Did you have chance to review why default-constructed M-B-R works faster > than another one constructed with the initial buffer size? Is that explained by the kernel pre-faulting the extra pages that are over-allocated, as amonakov said in comment 9? I haven't actually looked into it. (In reply to Dmitriy Ovdienko from comment #42) > Very good commit and comment. I hope this change, made for synthetic > benchmark, wont affect real production applications. Well if you need a larger initial size you can get it by asking for it, instead of getting it by accident :-)