From 99042ec72f6c9b1d4e006469e0912f33e2a6c597 Mon Sep 17 00:00:00 2001
From: maciejkula <noocrat@gmail.com>
Date: Thu, 13 Nov 2014 12:32:28 +0000
Subject: [PATCH] Add max_load_factor getter and setter for std::unordered_map.

This might be useful for controlling memory usage at the expense of collision probability.
---
 Cython/Includes/libcpp/unordered_map.pxd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Cython/Includes/libcpp/unordered_map.pxd b/Cython/Includes/libcpp/unordered_map.pxd
index 13ab63f6b..3bf4f5dee 100644
--- a/Cython/Includes/libcpp/unordered_map.pxd
+++ b/Cython/Includes/libcpp/unordered_map.pxd
@@ -60,3 +60,5 @@ cdef extern from "<unordered_map>" namespace "std" nogil:
         iterator upper_bound(T&)
         #const_iterator upper_bound(key_type&)
         #value_compare value_comp()
+        void max_load_factor(float)
+        float max_load_factor()
-- 
2.30.9