As far as I remember (sorry for any blur in my memory), global functions do not stay in memory. They are by definition only referenced when running. At every call, you risk that the function is: Not found in memory Loaded from disk Executed - that's really what you wanted in the first place Marked...