Hi.
When I am reading about Perl internal datatypes I wonder if they are going
to be Parrot internal types, especially the BIGINTs and BIGNUMs.

Will I be able to do someting like
        mov I3,45e3
or are the BIGs going to be implemented as PMCs?

I ask because I have the following idea:
I think it would be beneficial to have a vector flags for BIGINTS and
BIGNUMS.
If the vector flag is set, then the buffer pointer actually points to an
array of length length.

Doing this would be beneficial because we'd save a lot of instruction
dispatches when handing arrays.
For example I envision than a line like
        add N3,N1,N2
adds the BIGNUM arrays in N1 and N2 elementwise until the smaller one is
worked through.
This would also make it easier to use vector instructions or multiple
processors, so I hope.

Boris.

Reply via email to