[gsharp-devel] redraw buglets

Robert Strandh strandh at labri.fr
Tue Jul 20 06:16:43 UTC 2004


Christophe Rhodes writes:
 > Some of the blame might lie in gsharp's MAKE-PIXMAP-RECORD and
 > MAKE-RECTANGLE-RECORD: 

I see.  Again, the problem is in the score pane.  These should be
fairly easy to fix, I think.  

 > However, given the statistical profiling
 > results indicating that bignums or ratios were the bottleneck, this is
 > likely only to be a side issue.

Perhaps.  In any case, if the output recording of the score pane
avoids linear behavior, I think the problem will go away.  

 > I think I'd investigate the medium transformation, and the various
 > coordinates associated with pixmaps and rectangles, and see if any of
 > those are overly precise...

That might improve things, but (as is often the case) improving the
high-level algorithm is going to be an order of magnitude more
spectacular. 

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------




More information about the gsharp-devel mailing list