MemCopy() faster than slice.

BlitzMax Forums/BlitzMax Programming/MemCopy() faster than slice.

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.

Well, all I was using it for really was to update the internal "length" field of the array. Come to think of it though, my tests weren't actually testing to see if it worked since the only time the array would be a smaller size than it's initialization size was during a hash collision with different names (multiple hash entries of the same name are no problem).

Come to think of it, I doubt that the length field is being updated anyways. Hmm, I'll have to tweak things a bit.

[edit] It'd be nice if I could just tweak the length parameter myself, although I understand why that's not possible ;). Maybe I'll just make a wrapper class that stores the length.