JuliaPy / JuliaPy/PythonCall.jl
To do: in-place API
Abierto
enhancement
- Lenguaje dominante
- Julia
- Estrellas
- 1.1k
- Forks
- 86
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 3
Descripción
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!`.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.