Unfortunately the original internal implementation has only one bit for storing the type (integer or decimal). So it would need some rework, but being able to work with array of points directly is probably worth the change.
Hostilefork added the Datatype.vector on Jan 24, 2019
Submitted by: Oldes
As internally
pair!
is stored as 2 32bit decimal numbers, it should be possible to havevector!
ofpair!
s. Proposed possible behaviour:Imported from: https://github.com/rebol/rebol-issues/issues/2356
Comments:
Unfortunately the original internal implementation has only one bit for storing the type (
integer
ordecimal
). So it would need some rework, but being able to work with array of points directly is probably worth the change.