Move the branchless, parallel ASCII toLower into folly
authorBrian Pane <brianp@fb.com>
Mon, 7 Jul 2014 17:27:30 +0000 (10:27 -0700)
committerTudor Bosman <tudorb@fb.com>
Wed, 9 Jul 2014 20:51:57 +0000 (13:51 -0700)
commitdb66e2f4b93dee8c8834dede216e068a3a3e40af
tree5fa92ec88e68cc6be49bdec26d5108c414a19c91
parenta0d5122fbea372d9f5c943f1418a8104e3b1774f
Move the branchless, parallel ASCII toLower into folly

Summary:
* Moved the fast toLower code into folly
* Updated the name to emphasize that it's ASCII-only

Test Plan: * Unit tests and benchmarks included.

Reviewed By: tudorb@fb.com

Subscribers: ruibalp, bmatheny

FB internal diff: D1421056
folly/String.cpp
folly/String.h
folly/test/StringBenchmark.cpp [new file with mode: 0644]
folly/test/StringTest.cpp