Re: String?
- Posted by irv mullins <irvm at ellijay.com> Jun 01, 2004
- 653 views
David Cuny wrote: > By ensuring that pointers fall on four byte boundaries, and dropping the > precision of integers, Euphoria frees up a couple bits in the C int datatype, > which it uses to flag the type stored inside, which is something like: > > - positive integer > - negative integer > - pointer to atom > - pointer to sequence > - undefined > > Since there's no remaining bits in the int that can be used to flag the > datatype, the only other "simple" option would be to add an extra field to > the sequence structure. Thanks, that confirms my suspicion. So I guess we're out of luck with regard to strings, structures, or similar things until everyone is running 64-bit systems? Then we'll either get higher precision integers, or 4294967296 new data types! Perhaps a compromise would be in order. Irv