On Thu, 31 Jul 2008, Martin DeMello wrote:
I've attached a copy of my current work-in-progress. It's a crossword
editor; right now it just provides an editor for the grid (letters and
black squares). The problem is, it's really slow - there's a
perceptible lag between my hitting a key and the cursor moving - and I
haven't been able to figure out why. Any pointers? Is there a way to
profile it?
With ruby one can use -rprofile and one gets a report at the end.
shoes doesn't have that, AFAICS. So I added
require 'profile'
to the beginning of your code. This didn't produce any output either.
I'm a bit stuck now.
martin
Hugh