English
Forum

XPSE transformed HeaderCalls are faster!

 
Geschwindigkeitsvergleich vorkompilierter code.
CompileMarkSeparation
 $H windows.ph
cls
declare t&
t&=&gettickcount

whileloop 10000

    ~setpixel(%hdc,&loop,0,0)

wend

print &gettickcount-t&
waitkey
CompileMarkSeparation
nothing so withal Have I in current V0.1.6c yet a bow - of course not reference on Headerfiles - but in the reference the discern of Unitbefehlen within Klassendefinitionen. but therefore trouble I well tommorrow...
 
10/10/06  
 



Michael was so nice and has whom Xpse -Test too once implemented.

here its Results:

328ms with xpse
594ms without xpse

1891ms with xpse interpreter
2297ms without xpse interpreter

I have soebend too time Okrea  on the new XPSE adjusted - and the code something rewritten. the whole Program runs IMHO rather ex - works stabiler and power a saubereren local.

I mean there I had to change too time ne good idea.
 
10/29/06  
 




Michael
Wodrich

I mean there I had to change too time ne good idea


without these ständige change would this Forum neither what it now once is.

simply TOP

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
10/29/06  
 




Jörg
Sellmeyer
I habs too time tested:
Interpreter:
Apifunktion: 1422
Call: 1222

Compiliert
Api: 290 - 300
Call: 200 - 210

Very interesting discovery.

iF
I mean there I had to change too time ne good idea.


watts indeed time Time!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/29/06  
 




Jac
de
Lad
means the now, the Def ... slower is as the XPSE-Gedöns (means without jegliche Deklaration and Verheaderung)?
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
10/29/06  
 




Jörg
Sellmeyer
Nö, geDeft becomes indeed with Davids Variante. it points only whom deklarierten functions same a solid Einsprungadresse (? or How is it? Funktionhandle?) To and the becomes then through Call apparently faster addressed.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/29/06  
 




Jac
de
Lad
@iF: Defst You the Call-Dingens each time new, if XPSE what recognize? and What is, if the Programmer the Call-Dingens already self in the View source definiert has?
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
10/29/06  
 



No XPSE Deft nothing.

Statement I in the Nachfolgenden with ApiCall my: appeal of/ one Api which in a Headerfile declared is.

If Roland a ApiCall umwandelt - so does it this over External.

If XPSE a ApiCall umwandelt - so does it this over Call. XPSE power itself there very plenty trouble - declared integrally to that beginning the Program suitable variables to take the Funktionsadressen from whom DLLs, fetch itself to that Programmanfang The Funktionsadressen and GetControlParas (B The ApiCalls in Calls circa which The suitable Funktionsadressen carry.

this Posting shows it still integrally explicit:  [...] 

and here time the block the new Okrea:
CompileMarkSeparation
And so a transformed row sees then z.B. so from:
CompileMarkSeparation
call(__cf5&,_HWND&,-12,call(__cf6&,0,32649))
was time:
SetClassLongA(_hwnd&,-12,LoadCursorA(0,32649))

and naturally declared XPSE nothing twice - and only The Apis which objectively used go.

there one The indicated of Headerfiles now even gänzlich omit can is the process the Kompilierens too still significantly faster - means not only the program runs rather separate...

understood?
 
10/29/06  
 



iF
If XPSE a ApiCall umwandelt - so does it this over Call. XPSE power itself there very plenty trouble - declared integrally to that beginning the Program suitable variables to take the Funktionsadressen from whom DLLs, fetch itself to that Programmanfang The Funktionsadressen and GetControlParas (B The ApiCalls in Calls circa which The suitable Funktionsadressen carry.


an trouble, which auszahlt.
who plenty with Headern and API, bypassing sustain to that Geschwindigkeitsvorteil another improved safety hinzu - because it is not More possible, APIs over the Change the Exporttables During low the Laufens the Prozesses To hooken.

the means very:
APIs The through DEF and EXTERNAL addressed go, detect The anzuspringende address in the DLL first, if The function in the View source called becomes. through Changing the Headers the DLL in the the API addressed becomes (Change in memory my I), is it possible whom CALL on a Own DLL umzuleiten and the Parameter abzugreifen. with of/ one Codierung one Freischaltungscodes for a shareware could the already something problematically his.
there XPSE The Adressen at started the Program already festlegt, nützt a such Attacke nothing more - it go nevertheless The right Adressen angesprungen.
 
10/29/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.920 Views

Untitledvor 0 min.
Ernst05/07/16
funkheld12/15/13
gerd01/12/13
iF04/18/12
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie