[GHC] #4902: Create a primop for getting the size of an Array#
GHC
cvs-ghc at haskell.org
Thu Feb 10 17:18:17 CET 2011
#4902: Create a primop for getting the size of an Array#
------------------------------+---------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 7.0.1
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------+---------------------------------------------
Changes (by simonmar):
* status: patch => closed
* resolution: => fixed
Comment:
Pushed, thanks!
{{{
Wed Jan 26 05:15:54 GMT 2011 Daniel Peebles <pumpkingod at gmail.com>
* Add sizeof(Mutable)Array# primitives
Tue Feb 1 06:30:17 GMT 2011 Daniel Peebles <pumpkingod at gmail.com>
* Fix Array sizeof primops to use the correct offset (which happens to
be 0, so it worked before anyway). Makes us more future-proof, at least
}}}
{{{
Sun Feb 6 22:25:43 GMT 2011 Johan Tibell <johan.tibell at gmail.com>
* Add test for sizeofArray# and sizeofMutableArray#
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4902#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list