Skip to content

Commit f42b140

Browse files
committed
lib: note about strict Map
1 parent 1cb5357 commit f42b140

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hledger-lib/Hledger/Data/Types.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ import Data.Decimal
2828
import Data.Default
2929
import Data.List (intercalate)
3030
import Text.Blaze (ToMarkup(..))
31+
--XXX https://hackage.haskell.org/package/containers/docs/Data-Map.html
32+
--Note: You should use Data.Map.Strict instead of this module if:
33+
--You will eventually need all the values stored.
34+
--The stored values don't represent large virtual data structures to be lazily computed.
3135
import qualified Data.Map as M
3236
import Data.Text (Text)
3337
-- import qualified Data.Text as T

0 commit comments

Comments
 (0)