09-20-2025, 08:23 PM
(This post was last modified: 09-20-2025, 08:25 PM by ahenry3068.)
(09-20-2025, 07:17 PM)madscijr Wrote: Thanks - so reading over that, it sounds like _BYTE would be the most efficient type for performance and space, where _BIT would require unpacking under the hood. Do I have that right?
I doubt _byte is the most performant. Everything I know about computer architecture tells me on a 64 bit system that _INTEGER64 will be the fastest.
On a 32 bit system it would be LONG ... _byte is the best for memory usage.
That said, I doubt there's any performance hit you would notice using any Integer Type or even Single or Double. We are talking about stuff that's a rounding error on almost all modern systems. Myself. I tend to use INTEGER for my personal Boolean type. This is mostly because I write code for a couple of different Flavors of BASIC and this seems a good common denominator for me !
Also if you do want to use an _INTEGER64 for the possible speed benefit. I wouldn't worry about the 8 bytes of memory. Like I said. That's a rounding error !

