Dinesh B Vadhia wrote:
Have a large number (> 1bn) of integer co-ordinates (i, j). The i are
ordered and the j unordered.
I want to create (j, i) with j ordered and i unordered ie.
from:
...
6940, 22886
6940, 38277
6940, 43788
...
to:
...
38277, 567
38277, 90023
38277, 6940
...
I've
"Dinesh B Vadhia" wrote
Have a large number (> 1bn) of integer co-ordinates (i, j).
I want to create (j, i) with j ordered and i unordered ie.
I've tried the dictionary route and it works perfectly for small set
of
co-ordinate pairs but not for large sets as it hits memory capacity.
One
On Thu, Mar 12, 2009 at 9:43 AM, Dinesh B Vadhia
wrote:
> Have a large number (> 1bn) of integer co-ordinates (i, j). The i are
> ordered and the j unordered.
>
> I want to create (j, i) with j ordered and i unordered ie.
>
> from:
>
> ...
> 6940, 22886
> 6940, 38277
> 6940, 43788
> ...
>
> to:
>
Have a large number (> 1bn) of integer co-ordinates (i, j). The i are ordered
and the j unordered.
I want to create (j, i) with j ordered and i unordered ie.
from:
...
6940, 22886
6940, 38277
6940, 43788
...
to:
...
38277, 567
38277, 90023
38277, 6940
...
I've tried the dictionary route and