in reply to Re: Tracking down an Lvalue bug?
in thread Tracking down an Lvalue bug?

Grr. That'll teach me to try reduce my testcase to a one-liner :(

This 256x1024**2 was intended to be 256*1024**2. Surprisingly (or not) neither strict nor warnings catch the typo.

And when corrected the dynamics of the bug change substantially.

Thanks for calling me on it. Back to the drawing board!


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".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^3: Tracking down an Lvalue bug?
by ikegami (Patriarch) on Mar 19, 2012 at 23:12 UTC

    Back to the drawing board!

    What are you trying to do?

      Demonstrate that taking an lvalue substr ref causes the referenced substring to be copied, And that this is a bug.