Hello,
i have done some experiments with PackedString performance and would
propose to extend PackedString with two functions like
psTod::PackedString->Double
and
psToi::PackedString->Int
just by using __ccall__ 's to atof and atoi.
I have seen a 3 fold increase in speed compared with unpacking and running
through the (very slow) haskell read function within a program that reads
large ASCII files mainly consisting of ints and doubles (Protein Databank
files)
best regards,
Fuad
--
Fuad Abdallah
Max-Planck-Institut fuer Zuechtungsforschung / ZWDV
Tel.: 0221/5062-739 / Priv: 0221/584563