[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] extend map-into
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] extend map-into |
Date: |
Wed, 09 Oct 2019 15:41:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> I've repeated the same test going up two magnitude orders (1000000
> iterations). Still the execution time (~1.7secs) seems not distinguishable
> between the old and the implementation.
Great, then it looks like we have a winner!
> For my curiosity I've also tried to run it using
> `benchmark-run-compiled' with a very similar execution time as
> result. I would have expected to have the unrolled version faster but
> apparently funcall is not the bottle-neck here.
Based on previous experience with defmethod's dispatch, I suspect that
the main bottleneck may be in the time it takes to turn the arglist into
a proper list and then to pass it to `apply` (those two steps happen
within the "wrappers" built by `defmethod` and which decide which method
to call).
Stefan
- Re: new function proposal alist-to-hash, (continued)
- [PATCH] extend map-into (was: new function proposal alist-to-hash), Andrea Corallo, 2019/10/05
- Re: [PATCH] extend map-into, Stefan Monnier, 2019/10/06
- Re: [PATCH] extend map-into, Andrea Corallo, 2019/10/06
- Re: [PATCH] extend map-into, Stefan Monnier, 2019/10/08
- Re: [PATCH] extend map-into, Andrea Corallo, 2019/10/08
- Re: [PATCH] extend map-into, Stefan Monnier, 2019/10/08
- Re: [PATCH] extend map-into, Andrea Corallo, 2019/10/09
- Re: [PATCH] extend map-into,
Stefan Monnier <=
- Re: [PATCH] extend map-into, Andrea Corallo, 2019/10/09
- Re: [PATCH] extend map-into, Nicolas Petton, 2019/10/10
- Re: [PATCH] extend map-into, Nicolas Petton, 2019/10/10
- Re: [PATCH] extend map-into, Andrea Corallo, 2019/10/10
- Re: [PATCH] extend map-into, Nicolas Petton, 2019/10/10
- Re: [PATCH] extend map-into, Stefan Monnier, 2019/10/11
- Re: [PATCH] extend map-into, Andrea Corallo, 2019/10/11