From 00c8e4974c95f38e5dd7c21fc7a326db35dc291c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Fri, 15 May 2020 01:00:00 +0000 Subject: [PATCH] pybind11 slow --- README.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index da879bd..7f952f0 100644 --- a/README.adoc +++ b/README.adoc @@ -17801,7 +17801,10 @@ link:userland/libs/pybind11[] https://stackoverflow.com/questions/145270/calling-c-c-from-python/60374990#60374990 -pybind11 is amazingly easy to use. But it also makes your builds really slow: <>. +pybind11 is amazingly easy to use. But it can also make your builds really slow: + +* <>. As mentioned there, if pybind11 would split everything that can go into a cpp file from the hpp (i.e. everything except templates) that could already significantly reduce build times in certain cases. This is discussed upstream at: https://github.com/pybind/pybind11/issues/708 +* https://discuss.pytorch.org/t/how-are-python-bindings-created/46453/2 ==== Node.js