Dynamic allocation
#1

Well, i was just wondering...

Is allocating memory with ******'s malloc include, do all the work with the block of memory, copy the values into a staticly allocated var, free the block and return the var, worth doing it?
Reply
#2

38 views and no answer? D:
Reply
#3

It depends what you're making. In reality, Pawn uses very little memory - and even less when you pack strings (explained in depth in the tutorial, best I could find in a minute), so there's very little need IMO.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)