When one opens a new record, DrawParagraph() calls GetLineMetrics() and
WriteLine() for every line.  It should be possible to save half of the
effort by calling only GetLineMetrics() (and doing some adjustments to the
code) after the on-screen data is drawn.  This should cut page loading
time in half.  (Initial experiments are not completely successful, because
I don't fully understand the two functions, but there is a great speedup.)

Alex

--
Dr. Alexander R. Pruss  || e-mail: [EMAIL PROTECTED]
Philosophy Department   || online papers and home page:
Georgetown University   ||  www.georgetown.edu/faculty/ap85
Washington, DC 20057    ||
U.S.A.                  ||
-----------------------------------------------------------------------------
   "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur."
       - Paul of Worczyn (1424)

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to