| 02-09-2009, 12:49 AM | #1 |
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 |
execute is not ExecuteFunc , it is TriggerExecute, but evaluate is faster. |
| 02-09-2009, 01:55 AM | #3 |
Thank you =] [edit] A question comes to mind, is there any way to assign function interface id's dynamically? IE: JASS:function interface FI takes nothing returns nothing function mew takes nothing returns nothing when(FI) {return 620} endfunction 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 |
