Speed Test...casting Ints as objects and such...

BlitzMax Forums/BlitzMax Programming/Speed Test...casting Ints as objects and such...

Well, for anyone that needs to do a lot of operations dealing with storing ints in lists or in some other area where you've got to cast an int (or any basic data type) to an object it's much MUCH faster to create a wrapper object then to cast it to a string and store it as a string (which is an object, for those unaware.)

I figured there would be a speed difference, I just didn't anticipate the discrepancy being so large.