in reply to Highly efficient variable-sharing among processes

no interprocess communication if possible

That only leaves having a copy of the hash. A copy made by fork won't actually take up any additional memory (until a change is made to the memory page).

Replies are listed 'Best First'.
Re^2: Highly efficient variable-sharing among processes
by BrowserUk (Patriarch) on Aug 29, 2016 at 15:46 UTC
    That only leaves having a copy of the hash.

    Of course it doesn't. You've heard of shared memory?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Shared memory is a way of interprocess communication

        Correction:

        Shared memory is can be a way of interprocess communication

        But the processes sharing memory do not have to communicate anything between them; the memory remains shared and readable by one without the other being in any way aware of the read.

        To both processes, the memory is a part of its process, and neither need communicate to the other in order to use it.

        No communication; no IPC.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
        In the absence of evidence, opinion is indistinguishable from prejudice.