Skip to content
Snippets Groups Projects
Commit 21d11e7e authored by Tom Lane's avatar Tom Lane
Browse files

Avoid unnecessary copying of source string when generating a cloned TParser.

For long source strings the copying results in O(N^2) behavior, and the
multiplier can be significant if wide-char conversion is involved.

Andres Freund, reviewed by Kevin Grittner.
parent a5495cd8
No related branches found
Tags REL7_4_BETA5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment