Skip to content

Commit 88dcf8f

Browse files
committed
misc
1 parent f940a63 commit 88dcf8f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

lectures/numba.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,12 @@ Numba compiles functions to native machine code instructions at runtime.
6060

6161
When it succeeds, the result is performance comparable to compiled C or Fortran.
6262

63-
In addition, Numba can do useful tricks such as {ref}`multithreading`.
63+
In addition, Numba can do useful tricks such as {ref}`multithreading <multithreading>`.
6464

6565
This lecture introduces the core ideas.
6666

67-
(numba_link)=
68-
## {index}`Compiling Functions <single: Compiling Functions>`
6967

70-
```{index} single: Python; Numba
71-
```
72-
73-
{note}
74-
```
68+
```{note}
7569
Some readers might be curious about the relationship between Numba and [Julia](https://julialang.org/),
7670
which contains its own JIT compiler. While the two compilers are similar in
7771
many ways, Numba is less ambitious, attempting only to compile a small subset of
@@ -81,6 +75,14 @@ good at what it does.
8175
```
8276

8377

78+
79+
(numba_link)=
80+
## {index}`Compiling Functions <single: Compiling Functions>`
81+
82+
```{index} single: Python; Numba
83+
```
84+
85+
8486
(quad_map_eg)=
8587
### An Example
8688

0 commit comments

Comments
 (0)