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
Copy file name to clipboardExpand all lines: README.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,27 +81,22 @@ Tested with:
81
81
*[GHC](https://www.haskell.org/ghc/) 7.10.3 to 9.4.2 (x64)
82
82
83
83
84
-
*[GHCJS](https://github.com/ghcjs/ghcjs)
85
-
86
-
* Note: versions of `flat` prior to 0.33 encode `Double` values incorrectly when they are not aligned with a byte boundary.
87
-
84
+
*[GHCJS](https://github.com/ghcjs/ghcjs) version 8.6.0.1 (GHC 8.6.2)
88
85
89
86
90
87
### Known Bugs and Infelicities
91
88
92
-
* Data types with more than 512 constructors are currently unsupported
89
+
* Data types with more than 512 constructors are currently unsupported (but support could be easily added if necessary)
93
90
94
91
* Longish compilation times
95
92
96
-
*`flat` relies more than other serialisation libraries on extensive inlining for its good performance, this unfortunately leads to longer compilation times.
97
-
98
-
If you have many data types or very large ones this might become an issue.
93
+
* To improve performance, `flat` relies on extensive inlining. This unfortunately leads to longer compilation times.
99
94
100
-
A couple of good practices that will eliminate or mitigate this problem are:
95
+
If you have many data types or very large ones, you might want to:
101
96
102
97
* During development, turn optimisations off (`stack --fast` or `-O0` in the cabal file).
103
98
104
-
* Keep your serialisation code in a separate module or modules.
99
+
* Keep your serialisation code in separate modules.
105
100
106
101
* See also the [full list of open issues](https://github.com/Quid2/flat/issues).
0 commit comments