public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/24693] New: Deque improvements @ 2005-11-06 10:42 pcarlini at suse dot de 2005-11-08 17:13 ` [Bug libstdc++/24693] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: pcarlini at suse dot de @ 2005-11-06 10:42 UTC (permalink / raw) To: gcc-bugs This is to track this issue: http://gcc.gnu.org/ml/libstdc++/2005-11/msg00031.html A first part, about _M_erase_at_end/_M_erase_at_begin, should be doable relatively quickly. -- Summary: Deque improvements Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24693 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/24693] Deque improvements 2005-11-06 10:42 [Bug libstdc++/24693] New: Deque improvements pcarlini at suse dot de @ 2005-11-08 17:13 ` pinskia at gcc dot gnu dot org 2005-11-25 23:31 ` pcarlini at suse dot de 2005-12-05 18:01 ` pcarlini at suse dot de 2 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-11-08 17:13 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-08 17:13 ------- Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-11-08 17:13:51 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24693 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/24693] Deque improvements 2005-11-06 10:42 [Bug libstdc++/24693] New: Deque improvements pcarlini at suse dot de 2005-11-08 17:13 ` [Bug libstdc++/24693] " pinskia at gcc dot gnu dot org @ 2005-11-25 23:31 ` pcarlini at suse dot de 2005-12-05 18:01 ` pcarlini at suse dot de 2 siblings, 0 replies; 5+ messages in thread From: pcarlini at suse dot de @ 2005-11-25 23:31 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pcarlini at suse dot de 2005-11-25 23:31 ------- More interesting work to do: http://gcc.gnu.org/ml/libstdc++/2005-11/msg00241.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24693 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/24693] Deque improvements 2005-11-06 10:42 [Bug libstdc++/24693] New: Deque improvements pcarlini at suse dot de 2005-11-08 17:13 ` [Bug libstdc++/24693] " pinskia at gcc dot gnu dot org 2005-11-25 23:31 ` pcarlini at suse dot de @ 2005-12-05 18:01 ` pcarlini at suse dot de 2 siblings, 0 replies; 5+ messages in thread From: pcarlini at suse dot de @ 2005-12-05 18:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pcarlini at suse dot de 2005-12-05 18:01 ------- This part is done: http://gcc.gnu.org/ml/libstdc++/2005-11/msg00240.html can also go in mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24693 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-24693-4@http.gcc.gnu.org/bugzilla/>]
* [Bug libstdc++/24693] Deque improvements [not found] <bug-24693-4@http.gcc.gnu.org/bugzilla/> @ 2014-09-23 20:03 ` redi at gcc dot gnu.org 0 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2014-09-23 20:03 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24693 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Created attachment 33542 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33542&action=edit Patch to cache a free node. (In reply to Paolo Carlini from comment #2) > More interesting work to do: > > http://gcc.gnu.org/ml/libstdc++/2005-11/msg00241.html Here's a proof of concept to prevent repeated reallocations for this case: while (a long time) { dq.push_front(t); ... dq.pop_back(); } A single free node is cached in _M_map[-1], so there's no change to the layout of the class. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-09-23 20:03 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-11-06 10:42 [Bug libstdc++/24693] New: Deque improvements pcarlini at suse dot de 2005-11-08 17:13 ` [Bug libstdc++/24693] " pinskia at gcc dot gnu dot org 2005-11-25 23:31 ` pcarlini at suse dot de 2005-12-05 18:01 ` pcarlini at suse dot de [not found] <bug-24693-4@http.gcc.gnu.org/bugzilla/> 2014-09-23 20:03 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).