Skip to content
Snippets Groups Projects
Commit fa32dea8 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel
Browse files

Unpack fields of AlgoState

parent bc51813b
Branches
Tags
No related merge requests found
......@@ -24,12 +24,12 @@ import Data.RefinablePartition ( RefinablePartition )
import MA.Coalgebra.RefinementTypes
data AlgoState s h = AlgoState
{ toSub :: MVector s [EdgeRef]
, lastW :: MVector s (STRef s (Weight h))
, encoding :: Encoding (Label h) (H1 h)
, pred :: Vector [EdgeRef]
, partition :: RefinablePartition s
, h3Cache :: MVector s (H3 h)
{ toSub :: {-# UNPACK #-} (MVector s [EdgeRef])
, lastW :: {-# UNPACK #-} (MVector s (STRef s (Weight h)))
, encoding :: {-# UNPACK #-} (Encoding (Label h) (H1 h))
, pred :: {-# UNPACK #-} (Vector [EdgeRef])
, partition :: {-# UNPACK #-} (RefinablePartition s)
, h3Cache :: {-# UNPACK #-} (MVector s (H3 h))
}
makeLensesFor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment