Date: Mon, 20 Apr 2026 00:17:17 +0200
I think it is quite well written and researched.
One could add Tony Tables.
The narrative could be more direct, instead of telling in which order you tested, and decided and added functions. On the other hand it is logical, adds to motivation and easy to read. Probably a question of style.
You have motivation, solution, researched a large codebase, created an implantation, done benchmark comparisons and added wording.
-----Ursprüngliche Nachricht-----
Von:Alexey Sidorin via Std-Proposals <std-proposals_at_[hidden]>
Gesendet:So 19.04.2026 01:30
Betreff:Re: [std-proposals] [Proposal Draft PDF] Add an ability to move the top element from std::priority_queue
An:std-proposals_at_[hidden]; Сидорин Алексей <alexey.v.sidorin_at_[hidden]>;
CC:Alexey Sidorin <alexey.v.sidorin_at_[hidden]>;
Hi everyone,
I wanted to briefly follow up on the update I sent last month regarding the displace_top and remove_heap proposal (https://lists.isocpp.org/std-proposals/2026/03/17319.php). I’m interested in any feedback on this proposal and its parts, concerns or suggestions. I’d like to begin preparing this as a formal paper for the committee if there are no further concerns.
---
Best regards,
Aleksei Sidorin.
08.03.2026 23:26, Alexey Sidorin пишет:
Hello again.
Sorry for a long delay, but it took me some time to update the document and the reference implementation. But finally, there is an update.
1. extract_heap_top() renamed to displace_top()
2. Added remove_heap function
3. Changed pop_heap wording (remove_heap() + pop_back())
4. Added benchmark results for `pop_heap() + pop_back()` against `remove_heap() + pop_back()`. I wished to recheck my claim about potential performance improvements.
5. Added motivation for adding freestanding functions
6. Different minor improvements.
Thank you in advance.
---
Best regards,
Aleksei Sidorin.
--
Std-Proposals mailing list
Std-Proposals_at_[hidden]
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2026-04-19 22:18:55
