Commit 99042ec7 authored by maciejkula's avatar maciejkula

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.
parent 28a78cb2
......@@ -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()
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