Bank.Lock() Overhead?

BlitzMax Forums/BlitzMax Programming/Bank.Lock() Overhead?

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.

If you don't need it, never lock something within a loop (this holds for images as for banks - similar as it already has been in old blitz with buffers), as it will always become far slower if you lock - unlock within the loop.

But the "best way" depends on the actual use you need it for.