Article View: gnu.ghostscript.bug
Article #318Ghostscript 2.5 performance problem
From: L. Peter Deutsch
Date: Sat, 22 Aug 1992 00:22
Date: Sat, 22 Aug 1992 00:22
21 lines
1273 bytes
1273 bytes
The following change will get Ghostscript 2.5 close to the speed of 2.4.1. Change line 219 of gxpcopy.c from else if ( adx3 > scaled_flat << 1 ) to else if ( adx3 >> 3 > scaled_flat ) and similarly change line 245 from else if ( ady3 > scaled_flat << 1 ) to else if ( ady3 >> 3 > scaled_flat ) This may not be the final form of the fix, but it will do the job for the moment. The bug only affected (dramatically!) the speed of rendering curves and arcs that are not part of characters. If you are experiencing performance problems on pages that contain only text and straight lines, let me know. L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306 ghost@aladdin.com, ...decwrl!aladdin!ghost ; 415-322-0103 voice ; no fax yet "Implementation is the sincerest form of flattery."
Technical Details
Message-ID:
<9208211722.0.UUL1.3#5127@aladdin.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghostShow Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aladdin.COM!ghost From: ghost@aladdin.COM (L. Peter Deutsch) Subject: Ghostscript 2.5 performance problem Message-ID: <9208211722.0.UUL1.3#5127@aladdin.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 22 Aug 1992 00:22:59 GMT Approved: bug-ghostscript@prep.ai.mit.edu Lines: 23