Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
http-types Network.HTTP.Types.Header -
http-types Network.HTTP.Types.Status Method Not Allowed 405
module Data.Primitive.
SmallArray Small arrays are boxed (im)mutable arrays. The underlying structure of the Array type contains a card table, allowing segments of the array to be marked as having been mutated. This allows the garbage collector to only re-traverse segments of the array that have been marked during certain phases, rather than having to traverse the entire array. SmallArray lacks this table. This means that it takes up less memory and has slightly faster writes. It is also more efficient during garbage collection so long as the card table would have a single entry covering the entire array. These advantages make them suitable for use as arrays that are known to be small. The card size is 128, so for uses much larger than that, Array would likely be superior.
-
primitive Data.Primitive.SmallArray No documentation available.
SmallArray :: SmallArray# a -> SmallArray aprimitive Data.Primitive.SmallArray No documentation available.
-
primitive Data.Primitive.SmallArray No documentation available.
SmallMutableArray :: SmallMutableArray# s a -> SmallMutableArray s aprimitive Data.Primitive.SmallArray No documentation available.
cloneSmallArray :: SmallArray a -> Int -> Int -> SmallArray aprimitive Data.Primitive.SmallArray Create a copy of a slice of an immutable array. Note: The provided array should contain the full subrange specified by the two Ints, but this is not checked.
-
primitive Data.Primitive.SmallArray Create a copy of a slice of a mutable array. Note: The provided array should contain the full subrange specified by the two Ints, but this is not checked.
-
primitive Data.Primitive.SmallArray Copy a slice of an immutable array into a mutable array. Note: this function does not do bounds or overlap checking.