Fixed-size split()
authorTom Jackson <tjackson@fb.com>
Tue, 30 Apr 2013 20:13:34 +0000 (13:13 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 20 May 2013 18:01:26 +0000 (11:01 -0700)
commit6b0452df2faa5b6b001fd65127243bf507d2b158
treee77a3c8bedb4fcb3e1001cf24d34f048a0066020
parent6cee46136f0825424e442831c2d844ac94e23f7b
Fixed-size split()

Summary:
There are quite a few places where we split strings into a fixed number
of fields. This enables this to be done a bit faster by not using any
variable-length structures at runtime.

Test Plan: Unit tests, Benchmarks

Reviewed By: philipp@fb.com

FB internal diff: D794523
folly/String-inl.h
folly/String.h
folly/test/StringTest.cpp