laziness, impatience, and hubris | |
PerlMonks |
Re^7: How can I do a numeric sort on a substring? [Benchmark: reworked and extended]by kcott (Archbishop) |
on Jun 28, 2021 at 08:21 UTC ( [id://11134378]=note: print w/replies, xml ) | Need Help?? |
I wrapped all of the routines in @{[...]} to provide the list context; that was what I'd used in the preamble tests. I added an STss as I had indicated this morning. I decided that STmcs was going to be pretty much the same as STss, so I skipped that one. I did add an mcse which was mcs with map BLOCK replaced by map EXPR.
I saw ++swl's post. There wasn't any code there, so I guessed.
I ran the benchmark several times; there were no major differences between runs. Here's a sample output, in the spoiler; it's getting very wide (18 subroutines now) and this post is "Re^7", so probably best viewed via the "download" link. And here's the code: — Ken
In Section
Seekers of Perl Wisdom
|
|