Consider adding "small integer" optimizations to Stringbuilder

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Repl 2017-03-06, Repl 2017-03-27, Repl 2017-04-17, Repl 2017-05-08, Repl 2017-05-29, Repl 2017-06-19
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We should optimize StringBuilder to handle writing small integers efficiently. See our itoa implementation for one approach. StringBuilder::operator<<(int) shows up as a CPU bottleneck when profiling our Query micro-benchmarks, mostly due to writing index specification to string.

            Assignee:
            Mathias Stearn
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: