unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Nicolas Petton <nicolas@petton.fr>
Cc: Tino Calancha <tino.calancha@gmail.com>,
	27560-done@debbugs.gnu.org, ohwoeowho@gmail.com
Subject: bug#27560: 26.0.50; seq-uniq is slow
Date: Mon, 3 Jul 2017 23:19:27 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1707032316140.10724@calancha-pc> (raw)
In-Reply-To: <87y3s5pq81.fsf@petton.fr>



On Mon, 3 Jul 2017, Nicolas Petton wrote:

> Nicolas Petton <nicolas@petton.fr> writes:
>
>>> Indeed, I will run some benchmarks as well. In your benchmarks, cl-lib
>>> is still much faster than seq-uniq, even if it's not as impressive as
>>> Oleh's benchmark.
>>
>> It looks like I read the benchmark results wrong :)
>
> seq-uniq seems to be much faster than in 2015, while its definition
> basically hasn't changed.  I won't investigate much further as I'm happy
> with then benchmark results.
I am quite amazed with the 27 garbage collections that Oleh found:
>     (benchmark-run (seq-uniq cands 'equal))
>     (5.270219822 27 2.396615401000002)

I might get occasionally 1 gc, tipically 0: 27 demands a double checking.
Tino





      reply	other threads:[~2017-07-03 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-03  8:20 bug#27560: 26.0.50; seq-uniq is slow Nicolas Petton
2017-07-03 13:16 ` Tino Calancha
2017-07-03 13:50   ` Nicolas Petton
2017-07-03 13:52     ` Nicolas Petton
2017-07-03 14:09       ` Nicolas Petton
2017-07-03 14:19         ` Tino Calancha [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1707032316140.10724@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=27560-done@debbugs.gnu.org \
    --cc=nicolas@petton.fr \
    --cc=ohwoeowho@gmail.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.savannah.gnu.org/cgit/emacs.git

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).