From 1b24d3d09206c113b8c54908079c22624f845c8a Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 29 Jun 2020 22:48:02 -0400 Subject: [PATCH] Finish the pybind11 part --- _posts/2020-06-29-release-the-gil-pt.-2.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/2020-06-29-release-the-gil-pt.-2.md b/_posts/2020-06-29-release-the-gil-pt.-2.md index cbd5f6f..f48e352 100644 --- a/_posts/2020-06-29-release-the-gil-pt.-2.md +++ b/_posts/2020-06-29-release-the-gil-pt.-2.md @@ -31,6 +31,7 @@ The C++ implementation is very simple: ```c++ #include +#include inline std::uint64_t fibonacci(std::uint64_t n) { if (n <= 1) { @@ -77,7 +78,7 @@ those steps here, but the full project is available at [INSERT LINK HERE]. # it's simply to keep the processor busy. N = 1_000_000_000; -from fibonacci import fibonacci_gil, fibonacci_nogil +from speiceio_pybind11 import fibonacci_gil, fibonacci_nogil ``` We'll first run each function independently: