mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 23:22:01 +00:00
95f750a87d
In some cases the user of pythonbuf needs to allocate the internal buffer to a specific size e.g. for performance or to enable synchronous writes to the buffer. By changing `pythonbuf::d_buffer` to be dynamically allocated we can now enable these use-cases while still providing the default behavior of allocating a 1024 byte internal buffer (through a default parameter). |
||
---|---|---|
.. | ||
pybind11 |