From 192eb88475794c0598dc244806dc259dfb688035 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 19 Aug 2016 09:38:14 +0200 Subject: [PATCH] ..mention in benchmark docs as well --- docs/benchmark.rst | 5 ++++- docs/intro.rst | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/benchmark.rst b/docs/benchmark.rst index 365919756..8babaa319 100644 --- a/docs/benchmark.rst +++ b/docs/benchmark.rst @@ -2,7 +2,10 @@ Benchmark ========= The following is the result of a synthetic benchmark comparing both compilation -time and module size of pybind11 against Boost.Python. +time and module size of pybind11 against Boost.Python. A detailed report about a +Boost.Python to pybind11 conversion of a real project is available here: [#f1]_. + +.. [#f1] http://graylab.jhu.edu/RosettaCon2016/PyRosetta-4.pdf Setup ----- diff --git a/docs/intro.rst b/docs/intro.rst index 8ad8acb32..40dcf3593 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -73,8 +73,6 @@ In addition to the core functionality, pybind11 provides some extra goodies: of `PyRosetta`_, an enourmous Boot.Python binding project, reported a binary size reduction of **5.4x** and compile time reduction by **5.8x**. -.. _PyRosetta: http://graylab.jhu.edu/RosettaCon2016/PyRosetta-4.pdf - - When supported by the compiler, two new C++14 features (relaxed constexpr and return value deduction) are used to precompute function signatures at compile time, leading to smaller binaries. @@ -82,6 +80,8 @@ In addition to the core functionality, pybind11 provides some extra goodies: - With little extra effort, C++ types can be pickled and unpickled similar to regular Python objects. +.. _PyRosetta: http://graylab.jhu.edu/RosettaCon2016/PyRosetta-4.pdf + Supported compilers *******************