Mike Austin <noone / nowhere.com> wrote: > I decided it was time to do a little profiling, and am so glad that > it's built right into Ruby. My biggest problem seems to be array > access: > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 36.02 3.35 3.35 350 9.57 15.10 String#each_byte > 10.45 4.32 0.97 27230 0.04 0.04 Array#[] > 6.73 4.95 0.63 16100 0.04 0.04 GL.Vertex This looks rather like the code in each_byte was the problem. Notice that self seconds for Array#[] is just 0.97 - while String#each_byte consumes 3.35. Or did I miss something? Kind regards robert