You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/support-for-jit/index.mdx
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,8 @@ Each framework uses different compilation strategies to accelerate Python code:
18
18
19
19
Numba compiles Python functions to optimized machine code using the LLVM compiler infrastructure. Codeflash can suggest Numba optimizations that use:
20
20
21
-
-**`@jit`** - General-purpose JIT compilation with optional flags.
21
+
-**`@jit`** - General-purpose JIT compilation with optional flags. Here is a non-exhaustive options which codeflash would apply on the function to optimize it via numba jit compilation.
22
22
-**`noython=True`** - Compiles to machine code without falling back to the python interpreter.
23
-
-**`parallel=True`** - Enables automatic thread-level parallelization of the function across multiple CPU cores (no GIL!).
24
23
-**`fastmath=True`** - Uses aggressive floating-point optimizations via LLVM's fastmath flag
25
24
-**`cache=True`** - Numba writes the result of function compilation to disk which significantly reduces future compilation times.
0 commit comments