From: Soul Studios <matt@soulstudios.co.nz>
To: libstdc++@gcc.gnu.org
Subject: Request for comment from LEWG
Date: Mon, 28 Mar 2022 14:11:01 +1300 [thread overview]
Message-ID: <a1642cb8-a0b8-3ac5-dec3-d8a3ea2287d6@soulstudios.co.nz> (raw)
Hi all,
was hoping to hear back from Jonathan but haven't so far, so just
posting here for comment too - this is Matt Bentley.
std::hive (previously: colony) has had a preliminary meeting under LEWG
- there were a couple of questions raised by the chairs based on the
concern that the secondary option (memory_use) in the 'hive_priority'
template parameter might not end up being implemented by implementors,
which then would get frozen into ABI. They recommended I contact
yourselves, amongst others.
If someone could get back to me on the following before april 5th (the
next hive lewg meeting) that'd be appreciated:
a). Would libstdc++ be more likely to use the reference implementation
(https://github.com/mattreecebentley/plf_hive, which has the memory_use
implemented) or write it's own? The reference is under a zLib license,
which is compatible with GPL, but as far as I know I could 'grant' a
version to libstdc++ under the GPL, if this were a problem (the original
would retain it's zlib license).
b). If libstdc++ were to roll it's own implementation, would the
memory_use priority be likely to be implemented? In terms of the
reference implementation, this option merely changes the skipfield type
from unsigned short to unsigned char - which reduces skipfield memory
use while limiting maximum block capacities, which in turn limits
performance above ~500 elements. There are more memory-saving designs
possible, which are described in the 'Design Decisions' section of the
paper
(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0447r19.html),
but to date I have not tried these, have only indicated that they are
possible.
Thanks in advance-
Matt
reply other threads:[~2022-03-28 1:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a1642cb8-a0b8-3ac5-dec3-d8a3ea2287d6@soulstudios.co.nz \
--to=matt@soulstudios.co.nz \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).