[OT] Money for nothing, and your bit flips for free?
Steve
smorrey at gmail.com
Wed Feb 7 20:28:08 MST 2007
It appears that it's safe...
./a.out "" 1000000
New String is :
And back once more is:
Started: 0
Ended: 210000
Performed 1000000 bit flips on a 0 byte string in 210000 cycles
On 2/7/07, Byron Clark <byron at theclarkfamily.name> wrote:
> On Wed, Feb 07, 2007 at 04:43:58PM -0700, Steve wrote:
> > do{
> > s[y] = ~s[y];
> > }while(y++ <= s.length());
>
> I bet that one is even more fun when s.length() == 0. :)
> --
> Byron Clark
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFFypbLErN13QQr6mgRAjsIAJwMPPtGEFoE4GCPRaOrK3nyK9GWywCdFhtY
> piSt2PVBkkyzl7DetEC8b5k=
> =caPE
> -----END PGP SIGNATURE-----
>
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>
More information about the PLUG
mailing list