1. Re: split scroll FASTER :)
- Posted by "Lucius L. Hilley III" <luciuslhilleyiii at JUNO.COM> Feb 26, 1997
- 882 views
On Wed, 26 Feb 1997 14:42:48 -0500 Robert Craig <robert_craig at COMPUSERVE.COM> writes: >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. True Rob: it is spending 70% of its time in the loop. Of course That is only while no one is pressing a key Why should you refresh the screen if no key has been pressed. Also I modified the key control to skip value checks if it isn't within the range of arrow key presses. OF Course this SLOWS it down when it is a valid arrow However it speeds it up when it isn't an arrow. And I didn't modify the Control as much as I would have liked or I would have cut out several of his checks. I would have incorporated the proper checks for the proper key presses instead of an overall check at the end of the key press routine. You do have to admit that I did succeed in Splitting the time by splitting the updates made. In fact with the layout he designed it would be increasingly slower with it split into more parts but my design should actually increase in speed with the number of splits. --Lucius Lamar Hilley III -- E-mail at luciuslhilleyiii at juno.com -- I can only support file transfers of less than 64K.