enhancement suggestion
Jaroslav Hajek
highegg@gmail.com
Mon Jun 25 20:29:00 GMT 2007
hello,
I have noticed that gfortran implements TRANSPOSE by manipulating the
array descriptor,
switching dimensions and updating strides accordingly, instead of copying.
I'm thinking of two more intrinsics that could be implemented in this way -
RESHAPE for contiguous argument,
and SPREAD by using zero strides in array descriptors.
For code using whole array manipulation extensively, I'd expect there
could be a significant speed-up. Would zero strides cause problems
anywhere else?
btw, thanks to all gfortran developers for the great work on the front-end.
regards
Jaroslav Hajek
VZLU Prague, Cz
More information about the Fortran
mailing list