Talk:Hooking functions safely
From WoWWiki
Is it just me or is this method something to be used sparingly? ie, in the case of a function's parameters being changed from one patch to next (where the ... notation would be replaced once patch has gone live) It appears to create 256 bytes of garbage every call, whereas explicitly sending parameters creates none. If someone were to hook ChatFrame_OnEvent or many of the GetAction functions this way, the garbage creation would be phenomenal. -Gello
- Correct. I rephrased the "won't there be a performance impact?" section to be a bit more harsh. --Mikk 08:08, 25 August 2006 (EDT)