Outline several fbstring/malloc functions
authorGiuseppe Ottaviano <ott@fb.com>
Tue, 4 Oct 2016 04:39:06 +0000 (21:39 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Tue, 4 Oct 2016 04:53:30 +0000 (21:53 -0700)
commit2ff9d1814ee6477181ae333f6a926f290a8c5a96
tree1ba61cf7f275e3be2fe76baad9eb938cda3bbbb1
parent471f03d0e05c086bba3d8537f05c577f50268537
Outline several fbstring/malloc functions

Summary: Outline all the non-trivial constructor and the destructor, `assign()`, and `append()` to reduce code size. The fast path of copy, and moves, are instead still inlined.

Reviewed By: philippv

Differential Revision: D3896612

fbshipit-source-id: 25050d4ba28d25da226a7bc49d5b542947d0c512
folly/FBString.h
folly/Malloc.h