kazu-yamamoto / iproute

IP Routing Table in Haskell
http://www.mew.org/~kazu/proj/iproute/
BSD 3-Clause "New" or "Revised" License
47 stars 28 forks source link

Add NoStrict + make StrictData explicit in Builder #49

Closed vdukhovni closed 4 years ago

vdukhovni commented 4 years ago

Remove bangs from field-format (FF) data definition, but also add an explicit "StrictData" pragma, rather than rely on the default pragmas from the cabal file. Also add an explicit "NoStrict" pragma to the builder module, because the builder code runs ~1.8x faster when not "Strict".

kazu-yamamoto commented 4 years ago

Merged. Thank you for your contribution!