-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Huff's hiccup datastructures can often contain lazily-evaluated structures (via for and map, and so forth).
Currently, to build the resuilt, this must be concatenated into a StringBuilder and then into a RawString.
Pedestal has the ability to represent the body of an HTML response as a function that is passed the (servlet) OutputStream; being able to hook that into Huff could yield faster responses as the intermediate stage (the StringBuilder) would not have to be instantiated first, instead the visit of the datastructure could emit, via an OutputStream (or OutputWriter) the desired content.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels