JuliaPy / JuliaPy/PythonCall.jl
To do: in-place API
Ouverte
enhancement
- Langage dominant
- Julia
- Étoiles
- 1.1k
- Forks
- 86
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 3
Description
Make in-place versions of all the API functions, like:
```julia
pyimport!(ans, "sys")
pyadd!(ans, x, y)
pygetattr!(ans, x, "foo")
```
These replace the pointer in `ans::Py` with the result of the computation, instead of allocating a new `Py` each time. This will allow writing super-fast non-allocating code where needed.
You'd use these by pre-allocating places to store the results with `pynew`, which can optionally by freed with `pydel!`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.