https://github.com/llvm/llvm-project/issues/193949
https://github.com/llvm/llvm-project/issues/31782
https://chromium.googlesource.com/android_ndk/+/eecd8c2d681b019efca486f92fdda9a93f52328f%5E%21/#F0

Index: libcxx/include/deque
--- libcxx/include/deque.orig
+++ libcxx/include/deque
@@ -265,7 +265,11 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 
 template <class _ValueType, class _DiffType>
 struct __deque_block_size {
+#if defined(_LIBCPP_USE_LOWER_DEQUE_BLOCK_SIZE)
+  static const _DiffType value = sizeof(_ValueType) < 256 ? 512 / sizeof(_ValueType) : 2;
+#else
   static const _DiffType value = sizeof(_ValueType) < 256 ? 4096 / sizeof(_ValueType) : 16;
+#endif
 };
 
 template <class _ValueType,
