#3310·pyo3

Expand performance section of the guide

Author: adamreicholdCreated Jul 11, 2023Updated Aug 20, 2026
LabelsGood First Issue
  • Overhead of conversions (i.e. PyList vs Vec etc.)
  • String intern!
  • Vec<u8> becoming list[int] (and thus being very slow), usage of Cow<[u8]> as an alternative
  • #[pyo3(get)] deep-cloning non-Py data
  • dictionary dispatch, i.e. look-up based on type object identity