Commit 2b2fb909 authored by Valentin Valls's avatar Valentin Valls Committed by GitHub

Improve unordered_map API

- Add `reserve` and `bucket_count` to the libcpp unordered_map API
parent 89cfbb4a
...@@ -65,3 +65,5 @@ cdef extern from "<unordered_map>" namespace "std" nogil: ...@@ -65,3 +65,5 @@ cdef extern from "<unordered_map>" namespace "std" nogil:
#value_compare value_comp() #value_compare value_comp()
void max_load_factor(float) void max_load_factor(float)
float max_load_factor() float max_load_factor()
void reserve(size_t)
size_t bucket_count()
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