Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql/pgwire: avoid new memory allocation in writeTextDatum(Date)
3dfd6cb introduced a performance regression in the speed of encoding Date datums to their text representation. This commit partially avoids the regression. ``` name old time/op new time/op delta WriteTextDate-16 446ns ± 4% 318ns ± 1% -28.75% (p=0.000 n=10+9) ``` Release justification: Avoids performance regression. Release note: None
- Loading branch information