@@ -83,7 +83,20 @@ data Config =
83 -- ^ __Experimental__
83 -- ^ __Experimental__
85 -- If True, encode the keys of the record as a header and then
85 -- If True, encode the keys of the record as a header and then
86− -- serialize the data.
86+ -- serialize the data. Multiple constructors are not supported with
87+ -- @recordSyntaxWithHeader@ enabled.
89+ -- __Performance Notes:__
91+ -- There is a constant regression proportional to
92+ -- @sum (map length keyList) + length keyList@ where @keyList@ is the
93+ -- list of keys of that record as strings.
95+ -- As an example, @keyList@ of,
97+ -- data RecordType = RecordType { field0 :: Int, field2 :: Char }
99+ -- is @["field0", "field1"]@
89defaultConfig :: Config
102defaultConfig :: Config