I hope this helps 
http://neopythonic.blogspot.com/2008/10/sorting-million-32-bit-integers-in-2mb.html

On Dec 21, 5:14 am, dinesh bansal <[email protected]> wrote:
> Hi All,
>
> Suppose I have a big file (~100M) containing integer data. I want to sort
> this file. The problem is I don't want to load the complete file data into
> main memory in one shot. I mean I can read the file in batches and sort the
> batch and save it in another file but cannot store the entire file contents
> in main memory. Can somebody help me with algorithm or pseudo code?
>
> Thanks in advance.
> --
> Dinesh Bansal
> The Law of Win says, "Let's not do it your way or my way; let's do it the
> best way."

--

You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.


Reply via email to