Skip to content

Commit 1e29dea

Browse files
NHDalyadienes
andauthored
PR suggestions: docstring
Co-authored-by: adienes <51664769+adienes@users.noreply.github.com>
1 parent 1ac71fe commit 1e29dea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/expr.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,12 +365,12 @@ scenarios. The expr is extracted into an outlined function, which is marked `@no
365365
366366
Outlining an expr can be used to make a function smaller, e.g. by outlining an unlikely
367367
branch, which could help with runtime performance by improving instruction cache locality,
368-
and could help with compilation performance since 2 smaller functions can sometimes compile
368+
and could help with compilation performance since two smaller functions can sometimes compile
369369
faster than one larger function. Finally, outlining can be useful for type-stability, by
370370
outlining a type unstable block within a hot loop, where the outlined function could be type
371371
stable.
372372
373-
A common use case is to @outline the code that throws exceptions, since this should be a
373+
A common use case is to `@outline` the code that throws exceptions, since this should be a
374374
rare case, but it can introduce a lot of complexity to the generated code, which can
375375
sometimes harm the compiler's ability to optimize.
376376

0 commit comments

Comments
 (0)