|
|
#11 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
Final speed results till 20-09-2011:
Code:
FDLG is AT LEAST 1350 times faster and up to 2707 times faster than NDLG gDialog is AT LEAST 1328 times faster and up to 1874 times faster than NDLG gDialog (speed mode) is up to 1.41 times faster than gDialog (slow mode) FDLG is AT LEAST 1.45 times faster and up to 2.04 times faster than gDialog |
|
|
|
|
|
#12 |
|
Big Clucker
![]() ![]() Join Date: Apr 2010
Location: Indonesia
Posts: 83
Reputation: 0
|
Goodness, even in miliseconds it looks way slow indeed with the presence of FDLG.
Right then, I'll stick with FDLG. |
|
|
|
|
|
#13 |
|
Little Clucker
Join Date: Dec 2010
Posts: 40
Reputation: 71
|
Tip: use 'static' instead of 'new __PRIV_*'
|
|
|
|
|
|
#14 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2010
Location: Romania, Arad
Posts: 871
Reputation: 53
|
Good Job i really needed this
|
|
|
|
|
|
#15 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
first of all why? , the only thing I know is that if I declare a static variable anywhere it will still be available in global scope or if I declare it in a public it won't be recreated because it will keep existing, if you declare a new on a global scope it won't we re-created either.
|
|
|
|
|
|
#16 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 130
|
I've got an idea for this. There is a function like GetFunctionIdx by Y_Less.
I think you can use it for dialogids. That would make the code MUCH faster. |
|
|
|
|
|
#17 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
|
|
|
|
|
|
#18 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 130
|
|
|
|
|
|
|
#19 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,295
Reputation: 281
|
Quote:
CallLocalFunction(GetDialogNameByID(dialogid),para ms...); |
|
|
|
|
|
|
#20 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 130
|
Oh, it was
Scripting_GetPublic(idx, buffer[33], search[] = ""); Don't know if you can do anything with it. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] Callback Dialogs (Faster processing dialogs) | clavador | Includes | 2 | 06/07/2011 10:59 AM |
| [Include] Sasi-Dialogs - A new way to add dialogs! | [GF]Sasino97 | Includes | 11 | 02/05/2011 02:20 PM |
| Dialogs | fissekarl | Help Archive | 6 | 17/04/2011 12:04 PM |
| [HELP] Help me with Dialogs | [EnergY] | Help Archive | 4 | 12/02/2010 04:03 PM |
| Dialogs Conflict with other Dialogs with different... | HydraX | Help Archive | 33 | 01/01/2010 11:33 PM |