Is it possible to deallocate a function? Say you have a huge initialisation function that only gets run once, is it possible to deallocate it after you called it, and use that extra storage? I'm mainly interested in C, but feel free to post up for any other language if that language offers interesting behaviour.
I understand that functions aren't allocated on the heap and thus you probably cannot recycle their memory, but this does seem like a waste to me.