Date: Fri, 7 Feb 2025 00:21:16 +0100
On 06/02/2025 22:10, Ted Lyngmo via Std-Proposals wrote:
> Hi!
>
> I created a few simple test cases to be able to show what would be
> gained by using the set of unstable_* functions since I didn’t have my
> old tests saved.
>
> I’m not sure what’s changed since I wrote the functions, but their
> performance is really bad. Only with very contrived data sets will they
> outperform the “stable” versions. I assume cache locality explains most
> of the difference. I must have been testing them with some bias back
> then or used an ancient computer :)
>
> Anyway, I no longer think they are such a good idea.
It would be very very useful to post such benchmarks. A negative result
is still a result! You put time and effort to investigate a design. Even
if the conclusion is "the design isn't good", it would be great to leave
a written trace so that if someone comes up with a similar idea can
"stand on the shoulders of giants" and build from there.
Thanks,
--
Giuseppe D'Angelo
> Hi!
>
> I created a few simple test cases to be able to show what would be
> gained by using the set of unstable_* functions since I didn’t have my
> old tests saved.
>
> I’m not sure what’s changed since I wrote the functions, but their
> performance is really bad. Only with very contrived data sets will they
> outperform the “stable” versions. I assume cache locality explains most
> of the difference. I must have been testing them with some bias back
> then or used an ancient computer :)
>
> Anyway, I no longer think they are such a good idea.
It would be very very useful to post such benchmarks. A negative result
is still a result! You put time and effort to investigate a design. Even
if the conclusion is "the design isn't good", it would be great to leave
a written trace so that if someone comes up with a similar idea can
"stand on the shoulders of giants" and build from there.
Thanks,
--
Giuseppe D'Angelo
Received on 2025-02-06 23:21:22