What is more resource intensive, calling a proc everytime X calls Bump(), or putting it right into Bump()?
Before you mock me, I have my reasons...
If I put it right into Bump(), then I will be left with a VERY long Bump() function, i.e
thingy/Bump(atom/A) |
Whereas I can make a proc, e.g Bumped(), specifically change it for each of the atoms that when bumped do stuff,
and thus make my code alot cleaner, e.g
thingy/Bump(/obj/stuff/A) |
What I'm wondering, is which is more resource intensive, efficient or for lack of a better phrase, less lag inductive.
kthx
R_shn_t