mirror of
https://github.com/bspeice/speice.io
synced 2024-11-14 22:18:10 -05:00
Proofreading
This commit is contained in:
parent
8027538bb0
commit
6faaa702fa
@ -103,7 +103,7 @@ N = 1_000_000_000;
|
|||||||
from speiceio_pybind11 import fibonacci_gil, fibonacci_nogil
|
from speiceio_pybind11 import fibonacci_gil, fibonacci_nogil
|
||||||
```
|
```
|
||||||
|
|
||||||
Even though two threads are used, the GIL prevents those threads from running in parallel:
|
In the first example, even though two threads are used, the GIL constrains code to run in serial:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
%%time
|
%%time
|
||||||
|
Loading…
Reference in New Issue
Block a user