I have only recently started working with UDFs and I was wondering if someone who understands the inner workings of Maptool could explain why using them helps in performance. I realize that they're a little easier to call, can reduce the number of "code" blocks you might need, etc, etc, but is there something about how they are generated/implemented that speeds up their performance? And to what magnitude?
I'm going to use them either way, just curious as to how this is working, "under the hood" so to speak.
Thanks!
UDF Performance question
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
Re: UDF Performance question
Nothing? No sage words from any of the experts?
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: UDF Performance question
In short, they aren't necessarily faster. But they may help you write code more efficiently, avoiding other traps that are slower.xavram wrote:I have only recently started working with UDFs and I was wondering if someone who understands the inner workings of Maptool could explain why using them helps in performance. I realize that they're a little easier to call, can reduce the number of "code" blocks you might need, etc, etc, but is there something about how they are generated/implemented that speeds up their performance? And to what magnitude?
I'm going to use them either way, just curious as to how this is working, "under the hood" so to speak.
Thanks!
Take a look at this article if you're interested in macro performance: http://lmwcs.com/rptools/wiki/Speed_Up_Your_Macros
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."