October 09, 2024, 03:44:02 PM

News:

IWBasic runs in Windows 11!


Loading files faster

Started by Brian, June 12, 2020, 12:11:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

I know this has been posted before, but I was wondering how quick it would be to load a decent-sized (383kb) file with and without Fletchie's ConDrawOff and ConDrawOn code, so I modified the program a little bit

Just try both methods with the included text file - it is quite surprising

Brian

Andy

June 13, 2020, 03:49:44 AM #1 Last Edit: June 13, 2020, 10:10:32 PM by Andy
Brian,

Yes, that's very impressive and what a speed difference!

It's the same method I am using in my editor when colouring text, turn off notification / messages first, colour the text and finally turn them back on again - speeds things up like you would not believe.

It really makes a difference even if speed is not an issue.

Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.