File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ the execution of the program. There are (at least) two common general styles of
3636JIT compiler architectures. The most common one is that of a method-based JIT,
3737which will compile one method or function at a time. Then there are tracing JIT
3838compilers, which generate code by tracing the execution of the user's program.
39- They often focus on loops as stheir main unit of compilation.
39+ They often focus on loops as their main unit of compilation.
4040
4141Then there is the distinction between a "regular" JIT compiler and that of a
4242* meta-JIT* . A regular JIT is built to compile one specific source language to
@@ -184,7 +184,7 @@ Another set of downsides is that tracing has a number of corner cases and
184184"weird" behaviour in certain situations. Questions such as:
185185- When do you stop inlining?
186186- What happens when you [ trace recursion] ( https://mail.python.org/archives/list/pypy-dev@python.org/thread/GQQ7ABUFHGEAHWN7RQZM6D54CDROQINR/ ) ?
187- - What happens if your traces are [ consistently too long, even without inling ] ( https://pypy.org/posts/2021/09/jit-auto-generated-code.html ) ?
187+ - What happens if your traces are [ consistently too long, even without inlining ] ( https://pypy.org/posts/2021/09/jit-auto-generated-code.html ) ?
188188- and so on...
189189
190190Some of these problems can be solved by adding heuristics to the tracing JIT,
You can’t perform that action at this time.
0 commit comments