HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Function interfaces; Execute VS Evaluate?

02-09-2009, 12:49 AM#1
Blackroot
I'm sure this has been answered before, I'm just wondering which is going to cause the least overhead? (I know execute is ExecuteFunc and won't impeed the thread you're in, but I'm talking processer cycles.)
02-09-2009, 01:02 AM#2
Vexorian
execute is not ExecuteFunc , it is TriggerExecute, but evaluate is faster.
02-09-2009, 01:55 AM#3
Blackroot
Thank you =]

[edit]

A question comes to mind, is there any way to assign function interface id's dynamically?

IE:

Expand JASS:
?

Or alternatively... Is it possible to know what the interface ID will be assigned to function X?

[Edit2]

Seems function interfaces on assigned values on-the-fly across all interfaces as opposed to assigned by the precompiler, so it looks like you can't call a function you haven't assigned to an interface. To bad x=x