Hi all,

I've pushed a big change which unifies specialized arrays with struct
arrays and simplifies a fair amount of code.

The forest of sub-vocabularies underneath specialized-arrays is gone;
now, instead of

USE: specialized-arrays.float

Just say

USE: specialized-arrays
SPECIALIZED-ARRAY: float

The struct-arrays vocabulary has been completely removed. Instead use
SPECIALIZED-ARRAY: with your struct type. So this

STRUCT: foo ... ;
foo <struct-array>

becomes

STRUCT: foo ... ;
SPECIALIZED-ARRAY: foo
<foo-array>

Specialized vectors are similar. A SPECIALIZED-VECTOR: parsing word
replaces the various sub-vocabularies, along with struct-vectors.

Finally, the io.mmap sub-vocabularies, which defined words named
with-T-mapped-file where T ranged over primitive C types, have been
removed; instead, a single <mapped-array> word with stack effect (
mapped-file c-type -- array ) replaces them all.

Slava

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to