From: Joel VanderWerf Date: 2007-09-25T02:44:59+09:00 Subject: Re: I am new to Ruby and I could use some expert advice as to how I can make this code run faster. On 9/24/07, Ilmari Heikkinen wrote: ... > And here's a C version: To give C its fair due, you might try with unsigned long *buf; and buf[i] |= 0x80808080; (and the other necessary changes, of course). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407