Commit e2755116 authored by Ed Baunton's avatar Ed Baunton Committed by Sara Golemon

Update FBVector.md

Summary: Minor typo when referencing `std::allocator`
Closes #84

Reviewed By: @yfeldblum

Differential Revision: D2144830

Pulled By: @sgolemon
parent 8c681d3d
...@@ -128,7 +128,7 @@ the now notorious design of `realloc()` to opaquely perform ...@@ -128,7 +128,7 @@ the now notorious design of `realloc()` to opaquely perform
either in-place reallocation or an allocate-memcpy-deallocate either in-place reallocation or an allocate-memcpy-deallocate
cycle. Such lack of control subsequently forced all clib-based cycle. Such lack of control subsequently forced all clib-based
allocator designs to avoid in-place reallocation, and that 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, efficiency because an in-place reallocation, being very cheap,
may mean a much less aggressive growth strategy. In turn that may mean a much less aggressive growth strategy. In turn that
means less slack memory and faster reallocations. means less slack memory and faster reallocations.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment