It is currently Tue Dec 10, 2019 8:37 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: pb-event-fast
PostPosted: Wed Apr 24, 2019 7:56 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
@Little John:
thanks!
haha, :(

when debugger is off,
and change:
Debug b
Debug ElapsedMilliseconds()-q
to:
q=ElapsedMilliseconds()-q
MessageRequester("",""+b+~"\n"+q)

use virtual tables out:
b;my pc =-5
ElapsedMilliseconds()-q;my pc =342

use Select out:
b;my pc =-155
ElapsedMilliseconds()-q;my pc =174

@GedB:
thanks! :mrgreen:
You are like a teacher to guide students to progress, thank you again for your link !

_________________
my pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
 Post subject: Re: pb-event-fast
PostPosted: Wed Apr 24, 2019 6:45 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
I have just experimented a few times and found that:
Sometimes the virtual table is fast, sometimes the Select is fast, and the data changes relatively large, unstable.

Updated.

Change
eg=Random(20,1)
mi=Random(10,1)
to:
eg+1;=Random(20,1)
If eg>20
eg=1:EndIf

mi+1;=Random(10,1)
If mi>10
mi=1:EndIf

It's stable now, it's virtual table fast.:
virtual tables out:
b=2 time=144

Select out:
b=2 time=174

_________________
my pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye