Re: Euphoria's identity/philosophy -- Where is the focus?

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...
Spock said...

I've written my own sorting routines. There is one interface, sort(), and a few extra optional params to get whatever specialisation I require (column, index, custom, arbitrary). The sort is always stable, capable of column sorting, and very fast.

And you have posted these routines to RDS's code sharing archives?

You can do this without getting approval from Rob or the current developers, so that the rest of us can benefit from the improvements.

If not, please do so - I will be happy to use them.

I will post it to the contributions page in about a week. Anyone can then take whatever they might need. It won't matter to me if it doesn't make it into std\ since I never use that anyway. I should mention that it does differ from std\sort.e in that there is no ascend/descend distinction (but that is easily implemented by adding a reverse() at the end, if needed) and it sorts by single rather than multiple columns (but this would be easy to incorporate too). Overall speed is about the same as std\sort.e

Spock

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu