public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Rodion Efremov <coderodd3@gmail.com>
Cc: "libstdc++" <libstdc++@gcc.gnu.org>
Subject: Re: Faster indexed heuristic doubly-linked list to STL?
Date: Tue, 24 Aug 2021 11:27:08 +0100	[thread overview]
Message-ID: <CAH6eHdTy8RjON5gT1RYq77oSTFKk+AW=j3N2+srxG-XgLcnNxQ@mail.gmail.com> (raw)
In-Reply-To: <CADLcvW=oiqGfUFVqyPjhN5_hHv8oaxvu5wTcj495CFXnc0sp1Q@mail.gmail.com>

On Tue, 24 Aug 2021, 10:55 Rodion Efremov via Libstdc++, <
libstdc++@gcc.gnu.org> wrote:

> 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?
>


Probably not.

Libstdc++ is an implementation of the ISO C++ standard library (and related
ISO C++ extensions).

We do have some historical extensions that are not part of the standard,
but they are a maintenance burden and we prefer to avoid adding any more.
We only include things that are in the C++ standard, or are proposed for
inclusion in a future standard.



> Best regards,
> rodde
>
> [1] github.com/coderodde/LinkedList
>

      reply	other threads:[~2021-08-24 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24  9:55 Rodion Efremov
2021-08-24 10:27 ` Jonathan Wakely [this message]

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='CAH6eHdTy8RjON5gT1RYq77oSTFKk+AW=j3N2+srxG-XgLcnNxQ@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=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).