From: Ed Baunton Date: Wed, 10 Jun 2015 21:24:55 +0000 (-0700) Subject: Update FBVector.md X-Git-Tag: v0.47.0~47 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e275511679e59befc3c32e0be3f26bbdc9421e38;p=folly.git Update FBVector.md Summary: Minor typo when referencing `std::allocator` Closes #84 Reviewed By: @yfeldblum Differential Revision: D2144830 Pulled By: @sgolemon --- diff --git a/folly/docs/FBVector.md b/folly/docs/FBVector.md index 0975819b..21edbe8f 100644 --- a/folly/docs/FBVector.md +++ b/folly/docs/FBVector.md @@ -128,7 +128,7 @@ the now notorious design of `realloc()` to opaquely perform either in-place reallocation or an allocate-memcpy-deallocate cycle. Such lack of control subsequently forced all clib-based allocator designs to avoid in-place reallocation, and that -includes C++'s `new` and `std:allocator`. This is a major loss of +includes C++'s `new` and `std::allocator`. This is a major loss of efficiency because an in-place reallocation, being very cheap, may mean a much less aggressive growth strategy. In turn that means less slack memory and faster reallocations.