Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Expose Data.Text.Lazy.Builder
Bryan O'Sullivan
Add Show and IsString instances for Builder convenience.
Bryan O'Sullivan
Default to small chunk size for Builder.
Bryan O'Sullivan
Improve BlazeHtml bigtable/cgi/text.cgi performance by 210% Split the buffered write function into several, and inline commitBuffer. The big win is the split into writeLines and writeBlocks, which halved execution time of the benchmark. The other changes are incremental to that.
Bryan O'Sullivan
Tiny performance improvement via strictness
tibbe
More unboxing in fromString
tibbe
Move rewrite rules to a different phase
tibbe
Added rewrite rule for fromText This rule avoids the creation of an intermediate 'Text' value in fromText (fromString "str"))
tibbe
Tweaklet
tibbe
New rewrite rule for right-associative uses of append Merges bounds check when append is used in a right-associative fashion: w1 `append` (w2 `append` ...)
tibbe
Change builder benchmarks to use foldr
tibbe
Fixed bounds check bug
tibbe
Workaround for inliner problem The rewrite rules makes GHC think writeN (and ensureFree) are recursive so no unfolding would be generated for them.
tibbe
Added RULES to merge adjacent bounds checks. This speeds up the "builder/mappend 8 char" benchmark by 39%. The number of merged bounds checks is currently limited to -fmax-simplifier-iterations. Replacing 'append' (and perhaps 'writeN') with some other combinator might fix that problem.
Bryan O'Sullivan
Small tweaklets.
Bryan O'Sullivan
Minor tweaks.
Bryan O'Sullivan
Define and export toLazyTextWith.
Bryan O'Sullivan
Remove unneeded LANGUAGE pragma.
tibbe
Remove unnecessary laziness from builder. Decreased run-time on the "builder/mappend char" benchmark with 26% and the "builder/mappend text" benchmark with 3%.
tibbe
Change imports after builder move.
Bryan O'Sullivan
Move inlineInterleaveST and document it.
Bryan O'Sullivan
Change Tom's email address
Bryan O'Sullivan
Rename Builder module
tibbe
Added benchmark for builder. The benchmark shows that using the locally defined inlineInterleaveST is 13-44% faster than using unsafeInterleaveST.
tibbe
Refactored fromText in builder.
tibbe
Added a builder monoid for lazy texts. * The module is not yet exposed in the public API as it needs more tests. * The core generated from simple builders like singleton 'a' `mappend` singleton 'b' looks as good as the core generated for the same code using the Data.Binary.Builder monoid.
Bryan O'Sullivan
Fix a crash reported by Michael Snoyman.
Bryan O'Sullivan
Bump version
Tags
0.7.1.0
Bryan O'Sullivan
Add a Data instance for lazy Text.
Bryan O'Sullivan
Fix 6.12 compilation warning
  1. Prev
  2. Next