in reply to Re: [OT] A measure of 'sortedness'?
in thread [OT] A measure of 'sortedness'?
Does the sequential pass of the buffers have to be done first?
Yes.
Perhaps the more important question is in the nature of the items.
I think I mentioned "call them numbers". The point is that they are fixed length records; so even if there are multiple numbers, or a string, the comparison function will be very simple, so not much mileage there.
I got the impression your data was all in memory however.
Indeed. Whilst the data originates on disk and is bigger than memory; the two buffers being merged here are both fully in memory, but combined are close to the limits of memory, hence not enough space to perform the n-way merge.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [OT] A measure of 'sortedness'?
by RonW (Parson) on Mar 19, 2015 at 18:17 UTC | |
by BrowserUk (Patriarch) on Mar 19, 2015 at 18:27 UTC | |
by RonW (Parson) on Mar 19, 2015 at 19:45 UTC | |
by BrowserUk (Patriarch) on Mar 19, 2015 at 20:44 UTC |