Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9131

[C++] Faster ascii_lower and ascii_upper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • C++

    Description

      The current version is using a lookup table for doing the case conversion. Using http://quick-bench.com/JaDErmVCY23Z1tu6YZns_KBt0qU it seems using a boolean check and +/-32 seems ~5x times faster (4.6x for clang 9, 6.4x for GCC  9.2).

       

      Attachments

        Issue Links

          Activity

            People

              maartenbreddels Maarten Breddels
              maartenbreddels Maarten Breddels
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h