From: Rodion Efremov <coderodd3@gmail.com>
To: libstdc++@gcc.gnu.org
Subject: Faster indexed heuristic doubly-linked list to STL?
Date: Tue, 24 Aug 2021 12:55:03 +0300 [thread overview]
Message-ID: <CADLcvW=oiqGfUFVqyPjhN5_hHv8oaxvu5wTcj495CFXnc0sp1Q@mail.gmail.com> (raw)
Hello,
I would like to rewrite my fast linked list in Java [1] to C++ and
contribute it to STL. If we allow the operation
iterator at(size_t index) // runs in Theta(sqrt(N))
the data structure in question can add/remove an element also in total
Theta(sqrt(N)).
What do you think? Can it make it to the library?
Best regards,
rodde
[1] github.com/coderodde/LinkedList
next reply other threads:[~2021-08-24 9:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 9:55 Rodion Efremov [this message]
2021-08-24 10:27 ` Jonathan Wakely
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='CADLcvW=oiqGfUFVqyPjhN5_hHv8oaxvu5wTcj495CFXnc0sp1Q@mail.gmail.com' \
--to=coderodd3@gmail.com \
--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).