Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Out of Memory when generating large matrix

by Anonymous Monk
on Mar 06, 2018 at 13:19 UTC ( #1210401=note: print w/replies, xml ) Need Help??


in reply to Re^2: Out of Memory when generating large matrix
in thread Out of Memory when generating large matrix

Are you implying that merge sort can somehow work better when fed with separate (unsorted) inputs instead of one (unsorted) input?

Now I wonder, who's the one unfamiliar with merge sort?

  • Comment on Re^3: Out of Memory when generating large matrix

Replies are listed 'Best First'.
Re^4: Out of Memory when generating large matrix
by LanX (Bishop) on Mar 06, 2018 at 13:39 UTC
    > instead of one (unsorted) input?

    The merging doesn't happen at zero cost and you need to calculate the total.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1210401]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-06-18 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?