Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: returning large arrays from functions

by ikegami (Pope)
on Nov 19, 2010 at 08:22 UTC ( #872445=note: print w/replies, xml ) Need Help??


in reply to Re^4: returning large arrays from functions
in thread returning large arrays from functions

I see that as a special case of copy on write. COW refers to multiple objects sharing the same data storage until one changes. Copying the pointer over shares the data storage. What's special is that it never reaches the point where copying is necessary. If you'd rather use a different word for it, pretend I used that word.

  • Comment on Re^5: returning large arrays from functions

Replies are listed 'Best First'.
Re^6: returning large arrays from functions
by Anonymous Monk on Nov 19, 2010 at 09:27 UTC

    So 'copying without regard to whether writing will ever occur or not'--or as the rest of us like to call it, just "copying"--is to you a special case of copy on write.

    Not just techno-babble used to dress up an otherwise meaningless post for no more purpose than XP-whoring.

      So 'copying without regard to whether writing will ever occur or not'-,

      ???? I said not copying because there is no write is special case of COW.

        My mistake.

        So it's 'not copying for any reason' that is a special case of COW.

        Now it all makes sense.

      So 'copying without regard to whether writing will ever occur or not'

      ???? I said not copying because there is no write is special case of COW.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-11-13 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (150 votes). Check out past polls.

    Notices?