Showing posts with label heap sort. Show all posts
Showing posts with label heap sort. Show all posts

Thursday, October 20, 2005

[VBScript] Shell and Heap Sorts

The final versions of the Shell sort and Heap sort classes. First the ShellSorter:
and then the HeapSorter


By the way, I'm unemployed again. Things might be a bit quiet around here for a while.

Tuesday, October 11, 2005

[VBScript] Arrrghh!! Sorting out sorting ...

Just when I thought my problems were all over ... or at least the sorting ones ... I found that my machine didn't have enough virtual memory to handle the sort using ADODB (and I don't have the privilege level to do anything about it).

So I ported a heap sort to VBScript and ... so far ... everything look like it's going to work.

Here's the code
... and to use it, something like this ...