Any reason to use MemAlloc

BlitzMax Forums/BlitzMax Programming/Any reason to use MemAlloc

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Only thing I can think of is there might be some compiler overhead to the array that is not present with MemAlloc

Although that might be neglibile, I suspect internally the array has to call MemAlloc as well as do the refernce counting for the array.

I dont know for sure but logic tells me Memalloc is less code generated by the compiler.

Doug Stastny