in reply to Re: Really slow sort, but useful.
in thread Really slow sort, but useful.
I bow to your (and theorbtwo's) longer association with Perl. I wasn't exactly challenging theorbtwo's statement, just questioning how/why it would occur.
I still have a problem conceiving of the circumstance that would cause the segfault though? Obviously the effect of your choices is retained, but at any given point, the sort algorithm ony has the state of the stack and two values to consider. I can see how the result could be a non-useful outcome of the sort, but can't see what would cause the segfault.
I remember the recent thread where someone was using rand within sort to effect a shuffle. I assume that in pre-5.6 perls this would also have caused a problem? Though I don't recall mention of it at the time.
Okay you lot, get your wings on the left, halos on the right. It's one size fits all, and "No!", you can't have a different color.
Pick up your cloud down the end and "Yes" if you get allocated a grey one they are a bit damp under foot, but someone has to get them.
Get used to the wings fast cos its an 8 hour day...unless the Govenor calls for a cyclone or hurricane, in which case 16 hour shifts are mandatory.
Just be grateful that you arrived just as the tornado season finished. Them buggers are real work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Really slow sort, but useful.
by Abigail-II (Bishop) on Nov 29, 2002 at 11:08 UTC | |
by BrowserUk (Patriarch) on Nov 29, 2002 at 12:04 UTC |