From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Cc: Ed Schouten <ed@nuxi.nl>
Subject: Re: Re: AVL tree: storing balances instead of heights
Date: Thu, 10 Dec 2015 14:43:50 +0100 [thread overview]
Message-ID: <20151210134349.GF23362@port70.net> (raw)
In-Reply-To: <CABh_MKnwBHOjguKuxvuNCXcZVOuo=DmWEuJRsQCkjrcxCzkbfw@mail.gmail.com>
* Ed Schouten <ed@nuxi.nl> [2015-12-10 14:12:08 +0100]:
> 2015-12-10 13:14 GMT+01:00 Szabolcs Nagy <nsz@port70.net>:
> > performance also depends on the allocator since insert/delete
> > has to malloc/free (yet another issue with the api) musl's
> > allocator is i think still better for realtime systems than
> > the jemalloc used in cloudlibc, but it will have worse average
> > performance in benchmarks like this.
>
> Yes. All of the tests were run on Linux, using glibc. Only the
> tsearch()/tdelete() implementations are different between tests. They
> all use glibc's standard malloc().
>
ah ok.
based on the updated stats the iterative bottom up
approach seems to be a good tradeoff, i wouldn't
try to reduce stack usage further by increasing the
code size.
next prev parent reply other threads:[~2015-12-10 13:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CABh_MKm1Ow5_dc4ENJM-fAqWc+uPPZgftRdSDxPJiPXZAfZ+FQ@mail.gmail.com>
2015-12-07 13:03 ` Szabolcs Nagy
2015-12-07 13:19 ` Ed Schouten
2015-12-07 13:22 ` Ed Schouten
2015-12-07 14:46 ` Szabolcs Nagy
2015-12-10 9:21 ` Ed Schouten
2015-12-10 12:14 ` Szabolcs Nagy
2015-12-10 13:12 ` Ed Schouten
2015-12-10 13:43 ` Szabolcs Nagy [this message]
2015-12-20 21:43 ` Szabolcs Nagy
2015-12-21 1:28 ` Szabolcs Nagy
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=20151210134349.GF23362@port70.net \
--to=nsz@port70.net \
--cc=ed@nuxi.nl \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).