Enjoy BYOND? Contribute today!
Invisible procs in Debug Profile
Jun 17 2011, 12:37 pm
Not quite understanding how this happens, and is near impossible to back trace since it is indeed invisible.
Now any idea how to find or reveal said proc?
Jun 17 2011, 1:45 pm
Usually this is the result of compile-time initializers, like this:
/list/mylist = list(1,2,3)
Sometimes those kinds of initializers are just fine, but remember to avoid doing them for cases where the list may never be used. Generally, setting a built-in list for an atom isn't a good idea because initializing on an as-needed basis tends to work better, but there are obvious exceptions like unique mobs (e.g. shopkeepers).
Copyright © 2014 BYOND. All rights reserved.
Terms of Service