1. Re: split scroll FASTER :)

With Mr. Hilley's changes, it now spends 70% of its time
waiting for the next key stroke. i.e. it's being held back
by the keyboard repeat rate.
(I'm running it on a Pentium-150.)

Adding: without type_check
will speed it up by about 1%.

Another minor thing. You could change this:

>   -- to create a random 640 x 400 bitmap (for demonstration purposes)
> procedure create_image1()
>    image1=repeat(repeat(0,640),400)
>    for y=1 to 400 by 1 do
>      for x=1 to 640 by 1 do
>        image1[y][x]=rand(256)
>     end for
>    end for
> end procedure

To...

procedure create_image1()
  image1=rand(repeat(repeat(256, 640), 400))
end procedure

It won't speed up your image display however.

Regards,
   Rob Craig
   Rapid Deployment Software

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu