skia-python icon indicating copy to clipboard operation
skia-python copied to clipboard

Improve Performance

Open 0lru opened this issue 4 years ago • 0 comments

Some operations are heavy-weight. As an example, "Canvas::drawPicture" may take some time. Can we refactor this to release the GIL? That'd greatly improve the overall performance, I think. Example of the pybind11-documentation:

m.def("call_go", &call_go, py::call_guard<py::gil_scoped_release>());

0lru avatar Dec 03 '21 23:12 0lru