in reply to Re^6: using bits to print part of a string (Bitops win by an order of magnitude)
in thread using bits to print part of a string

You don't have one mask for all tests.

Sorry, but you are mistaken. The srand $S ensures that the same mask is built for each run.

You can change it using sommand line arg -S=nn, but so long as you use the same value for each run (1 by default) then the same mask will be generated for each test.


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.

Replies are listed 'Best First'.
Re^8: using bits to print part of a string (Bitops win by an order of magnitude)
by McA (Priest) on Mar 17, 2013 at 16:18 UTC

    Hi BrowserUk,

    I've to admit that you're right. The only thing which gives me consolation: The other readers can see now explicitly that you thought about that too. :-)

    Best regards
    McA