I’m using import Data.Map.Strict as M
and then doing M.fromList xs
where xs
is a list of 15000 items of the type [((b, b, b), (b, b, c))]
where b
is an Int
and c
is a Char
. The list is fully materialised when M.fromList
is called, yet it takes about 30 seconds to create the map! I verified this by creating the list without the map and checking its length (it takes about 1 second).
Is this expected?