-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
format-date from the system library is slow. This is used for the response's date header, and in the logging code.
One issue here is that since that method is defined to take <string>, there is a lot of generic dispatch including each of the character comparisons.
An easy (but not really correct) fix is to have it take a <byte-string> for the format parameter and have date-stream be a <byte-string-stream> and give it a <byte-string> as the contents.