Source

text / Data / Text / Lazy / Builder.hs

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Update some comments and whitespace
Bryan O'Sullivan
Refactor Builder into Builder and Builder.Internal modules
Bryan O'Sullivan
Drop trailing whitespace
Bryan O'Sullivan
Fix the Show instance for Builder
Bryan O'Sullivan
Add Eq and Ord instances for Builder
tibbe
Add low-level combinator writeAtMost writeAtMost allows for more static bounds check merging using rules, at the risk of wasting some buffer space.
tibbe
Inline mconcat
tibbe
Help the GHC 7.0.2 arity analyser
Bryan O'Sullivan
Expose Builder.fromString.
Tags
0.11.0.8
Johan Tibell
Improved documentation for builders
Bryan O'Sullivan
Rename unsafeNew to new
Antoine Latter
Odd tweak to build with GHC 6.13
Bryan O'Sullivan
Tidy up some assert-related silliness
Bryan O'Sullivan
Rename partialCopy to copy
Bryan O'Sullivan
Inline withSize
Bryan O'Sullivan
Remove more duplicated Builder code This time, I also changed the return value from UnsafeChar.unsafeWrite to return the number of Word16 values written, instead of the next offset in the array to use.
Bryan O'Sullivan
Fix off-by-one error
Bryan O'Sullivan
Remove duplicated code
Bryan O'Sullivan
Update copyrights
Bryan O'Sullivan
Make use of assert conditional This turns out to make about a 10% difference to performance, even though the GHC docs claim it shouldn't :-(
Bryan O'Sullivan
Simplify the internal array code There was no value (but also no performance penalty) to it being based around a typeclass, so I ripped that out, along with Hugs support that I'd never really compile-tested.
Bryan O'Sullivan
Simplify a definition
Bryan O'Sullivan
Add Show and IsString instances for Builder convenience.
Bryan O'Sullivan
Default to small chunk size for Builder.
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
Fixed bounds check bug
  1. Prev
  2. 1
  3. 2
  4. Next