Michael-J-Ward opened a new pull request, #740: URL: https://github.com/apache/datafusion-python/pull/740
# Which issue does this PR close? Part of #727. # Rationale for this change [pyo3 recommend](https://github.com/PyO3/pyo3/pull/4274) using the Python token from a `Bound<'_, T>` type or automatically passed in as a method parameter for a `#[pymethods]` or `#[pyfunction]` because they are zero-cost. `Python::with_gil` carries a runtime check overhead. # What changes are included in this PR? I changed all the places that had straightforward removal of `Python::with_gil`. Additionally, I removed some manual type conversion work by letting pyo3 do it automatically as we cross the python-rust boundary. # Are there any user-facing changes? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
