We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac922e5 commit e27c4d7Copy full SHA for e27c4d7
guide/src/advanced.md
@@ -28,3 +28,9 @@ version = "0.8.1"
28
extension-module = ["pyo3/extension-module"]
29
default = ["extension-module"]
30
```
31
+
32
+## `nightly` flag
33
34
+`pyo3/nightly` feature needs nightly compiler, but enables some optimizations as follows:
35
+- `FromPyObject` for `Vec` and array is optimized when the object can be `PyBuffer`
36
+- `ToBorrowedObject`, used by `PyDict::set_item` or so, is optimized when the taken object is a Python native type.
0 commit comments