From: Ron v. O. <R.A...@Wb...> - 2000-05-06 13:48:53
|
Robert L Krawitz wrote: > > Date: Sat, 06 May 2000 14:37:35 +0200 > From: Ron van Ostayen <R.A...@Wb...> > > Nevertheless I think the code would speed up a lot if all functions that > are called for every dot are inlined. > > BTW, I just ran a test, and got no improvement at all. > -- time gs -q -dNOPAUSE -dBATCH -sDEVICE=stp -dModel=13 \ -dQuality=0 -sOutputFile=tiger0.prn tiger.ps default: 28s using inlined functions print_color, update_dither, calc_rgb_to_hsv and calc_hsv_to_rgb: 21.5s. Other quality settings have different differences but the speedup is there. Perhaps you use a different gcc and processor? gcc version 2.95.2 19991024 (release) Ron van Ostayen R.A...@Wb... Laboratory of Tribology Department of Mechanical Engineering University of Technology Delft |