Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: improve performance of replacing JDBC {...} escapes #1230

Merged
merged 11 commits into from Jun 29, 2018
Commits on Jun 29, 2018
  1. perf: improve performance of replacing JDBC {...} escapes

    vlsi committed Jun 28, 2018
    There are the key improvements:
    1) Function arguments for {fn ...} were parsed twice
    2) EscapedFunctions now appends data to existing StringBuilder instead of producing intermediate Strings
    3) EscapedFunctions.getFunction avoids string concatenation (suggested by benbenw) and toLowerCase on a hot path
  2. perf: use ensureCapacity for sqlleft and sqllength

    vlsi committed Jun 29, 2018
  3. style: Java 6 compatibility

    vlsi committed Jun 29, 2018
  4. style: appendCall correct comment in appendCall

    vlsi committed Jun 29, 2018
  5. style: fold ifs in getFunction

    vlsi committed Jun 29, 2018
  6. style: add relevant links

    vlsi committed Jun 29, 2018
  7. revert changes to EscapedFunctions

    vlsi committed Jun 29, 2018
  8. style: add final to EscapedFunctions2

    vlsi committed Jun 29, 2018
  9. style: posArgs -> argPos

    vlsi committed Jun 29, 2018
You can’t perform that action at this time.