You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be better to have a special data type for this. And also special functions to convert to this datatype. This should improve code readability. And, possible, performance, if we add {-# UNPACK #-} pragmas where possible
The text was updated successfully, but these errors were encountered:
A custom unpacked datatype is the way to go here, but failing that, there's also -XUnboxedTuples
Be wary about anything that might make the Any strict though; as that would change end-user behaviour (unless something is already forcing the values to the map that I haven't seen, not sure how Any is affected by Array.)
It would be better to have a special data type for this. And also special functions to convert to this datatype. This should improve code readability. And, possible, performance, if we add
{-# UNPACK #-}
pragmas where possibleThe text was updated successfully, but these errors were encountered: