in reply to [Resolved] strange list operator

That's because list assignment is not optimized.
  1. 4 long lists involved: @aa, @bb, 1 .. 2e7 twice, size 8e7;
  2. 3 lists involved, @aa, @bb, 1 .. 2e7, size 6e7;
  3. 2 lists involved, @cc, 1 .. 4e7, size 8e7;
  4. 1 list involved, size 4e7.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: strange list operator
by xiaoyafeng (Deacon) on Oct 09, 2015 at 08:41 UTC
    But how explain example 5?




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      List assignment is not optimized, but for is.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
        Thanks for your reply, but does perl put all list assignments together? otherwise you can't explain why it still throw out of memory when example 2running




        I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction