BankSize vs. BankCapacity

BlitzMax Forums/BlitzMax Programming/BankSize vs. BankCapacity

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.

Bank capacity is the size of the memory chunk allocated to the bank. If you resize the bank to be greater than BankSize() but less than or equal to BankCapacity(), it's very fast since it doesn't have to allocate a new chunk of memory and copy the old information across.