READLINE is by far the slowest part of the code. That function is a real dog when looking at performance.

See the details below.
code:
Reading image file from C:\Data\Scripts\Golf\PxMagic\balloons.pgm
Start Read: 18:19:31
End Read: 18:20:25
Start Display: 18:20:27
End Display: 18:20:38

Reading image file from C:\Data\Scripts\Golf\PxMagic\blackbuck.ppm
Start Read: 18:20:47
End Read: 18:23:53
Start Display: 18:23:58
End Display: 18:24:10

Reading image file from C:\Data\Scripts\Golf\PxMagic\circle_ascii.pbm
Start Read: 18:24:20
End Read: 18:24:21
Start Display: 18:24:22
End Display: 18:24:28


In order to debug the code change the image order in KixGolf_pxMagic.kix. Do circle_ascii.pbm, and FEEP files first.

[ 15. October 2003, 00:27: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/