Expand performance section of the guide
Author: adamreicholdCreated Jul 11, 2023Updated Aug 20, 2026
LabelsGood First Issue
- Overhead of conversions (i.e.
PyListvsVecetc.) - String
intern! -
Vec<u8>becominglist[int](and thus being very slow), usage ofCow<[u8]>as an alternative -
#[pyo3(get)]deep-cloning non-Pydata - dictionary dispatch, i.e. look-up based on type object identity
Source: PyO3/pyo3