Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
What is the motivation?
Create and use a custom InterpolatedStringHandler for Query methods to improve performance.
Also removed duplicated code from engines by reusing RawX method versions.
For a typical scenario, the benchmark confirms the performance improvements: more than 2x faster & slightly less memory allocation. See:
Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
What is the motivation?
Create and use a custom
InterpolatedStringHandler
forQuery
methods to improve performance. Also removed duplicated code from engines by reusingRawX
method versions.For a typical scenario, the benchmark confirms the performance improvements: more than 2x faster & slightly less memory allocation. See:
What does this change do?
Provide a description of what this pull request does.
What is your testing strategy?
Unit tests + benchmarks
Have you read the Contributing Guidelines?