Chris Marshall
2013-11-27 16:32:27 UTC
I would like to wrap up the 64bit index support for PDL-2.008
by fixing the longlong to double type coercion in the PDL Core.
This would entail changing the default any-type PDL value
from double to something else.
Similarly, the badvalue would need to be in an appropriate
type (arguably the type of the piddle itself) but maybe just
the same as the new Core type for symmetry.
It seems that a reasonable option might be a union type of
all the elemental PDL types plus pointers. Which types are
to be elemental could be refined later but we could start
with the current PDL types. The motivation for the pointer
is that we would use pass by reference to handle the most
general cases (conveniently, it also allows for all the perl
SV*, AV*,... as well).
For 2.008 there would be just enough "glue" to resolve the
lingering issues for longlong and 64bit PDL_Indx data. After
that release, I suggest we switch from the master branch to
working with the newly cleaned up core that Craig has been
working on.
Thoughts?
Chris
by fixing the longlong to double type coercion in the PDL Core.
This would entail changing the default any-type PDL value
from double to something else.
Similarly, the badvalue would need to be in an appropriate
type (arguably the type of the piddle itself) but maybe just
the same as the new Core type for symmetry.
It seems that a reasonable option might be a union type of
all the elemental PDL types plus pointers. Which types are
to be elemental could be refined later but we could start
with the current PDL types. The motivation for the pointer
is that we would use pass by reference to handle the most
general cases (conveniently, it also allows for all the perl
SV*, AV*,... as well).
For 2.008 there would be just enough "glue" to resolve the
lingering issues for longlong and 64bit PDL_Indx data. After
that release, I suggest we switch from the master branch to
working with the newly cleaned up core that Craig has been
working on.
Thoughts?
Chris