pgdate: pgdate.ParseDate allocates a lot of temporary heap memory #91834
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
The fieldExtract struct escapes to the heap and the textChunks and numbers slices in fieldExtract.Extract are allocated every time, pulling these allocations into a reusable struct that can be passed to ParseDate would greatly speed up date parsing.
Jira issue: CRDB-21450
The text was updated successfully, but these errors were encountered: