Disallow COW in FBString
authorNicholas Ormrod <njormrod@fb.com>
Fri, 7 Oct 2016 20:05:44 +0000 (13:05 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Fri, 7 Oct 2016 20:08:37 +0000 (13:08 -0700)
commit427c43f4cb461f375b8598ebc55766fd677963c4
treee3ef46abab9eb56280139dc6c30a796201974bb0
parentbde0ad1fbe2404b0c58c57986ad940828d81ce8b
Disallow COW in FBString

Summary:
Remove all code that create large strings.

This diff does not remove code that deals with large strings, so that the transition to libgcc will be smoother. Note that the FBSTRING_ASSERT inside of setCapacity will be disabled in the libgcc build.

Reviewed By: luciang, ot

Differential Revision: D3977459

fbshipit-source-id: 09c1712854b31509138c5cc8baf19caf3c715bb6
folly/FBString.h
folly/docs/FBString.md