allow small vector to be storage for sorted_vector_map
authorBenny Chen <bennychen1993@fb.com>
Wed, 15 Nov 2017 22:03:27 +0000 (14:03 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Nov 2017 22:17:55 +0000 (14:17 -0800)
commit76328b6ed4e32235858e312d34b7abaed994584b
tree5facbcaf44a7252b6e66dcebd2711b51c44888b9
parentb010847b060f99a988069ca387416a08e9dc221e
allow small vector to be storage for sorted_vector_map

Summary:
this is to allow small_vector to be a storage option for sorted_vector_map. Reas
on I want to do this is because in ads there are a lot of small maps where we wo
uld have to allocate separately.

Reviewed By: yfeldblum

Differential Revision: D6318811

fbshipit-source-id: b145d1bef2cbbeb946995aa66b55aaadeb6c54f5
folly/small_vector.h
folly/sorted_vector_types.h
folly/test/small_vector_test.cpp