Bump pyo3 from 0.22.6 to 0.24.1 in the cargo group
Bumps the cargo group with 1 update: [pyo3](https://github.com/pyo3/pyo3).
Updates `pyo3` from 0.22.6 to 0.24.1
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.24.1/CHANGELOG.md)
- [Commits](https://github.com/pyo3/pyo3/compare/v0.22.6...v0.24.1)
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
Optimize `save_report_lines` a bit
This avoids some intermediate allocations in particular for a `flag_map` case, as well as avoiding another allocation.
In other cases its unfortunately not possible to avoid more intermediate allocations.