On Jun 11, 2008, at 12:17 AM, Joe Groff wrote: > And an unrelated question: why are byte-array, float-array, and bit- > array implemented as separate primitive types in the VM? It seems like > the latter two, and indeed any packed unboxed (c-type)-array, could be > implemented in pure Factor on top of byte-array. I'm guessing > efficiency has something to do with it.
The plan is to re-implement float-array and bit-array as tuples wrapping byte-arrays at some point in the near future. At this point we can implement other types of specialized arrays too -- int arrays, unsigned int arrays, single precision float arrays, complex float arrays, whatever. Slava ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
