summaryrefslogtreecommitdiff
path: root/lib/Data/Packed/Internal/Matrix.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2008-06-09 18:49:50 +0000
committerDon Stewart <dons@galois.com>2008-06-09 18:49:50 +0000
commitbca302fae9561944280d2230699bdf252d0375fc (patch)
tree5a885b421702214a77788e8a2b3471a7220e55cd /lib/Data/Packed/Internal/Matrix.hs
parent7318414413c887270c4ec4d7514e9ba11a2366f0 (diff)
Use mallocPlainForeignPtrBytes if available
As for bytestrings, use PlainForeignPtrs if supported, which have less overhead, as values are allocated on the Haskell heap without any wasted finalisers needed. Should mean less resources used if many small vectors are created.
Diffstat (limited to 'lib/Data/Packed/Internal/Matrix.hs')
0 files changed, 0 insertions, 0 deletions