Skip to content

Commit

Permalink
Fix a typo (#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
jknightdoeswork authored Feb 16, 2025
1 parent c2a75f1 commit bd07122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/site/embedding/calling-wren-from-c.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ method is called. That's how many dynamic languages work.

But, as you can imagine, that's pretty slow. So, instead, Wren does as much of
that work at compile time as it can. When it's compiling the above code to
bytecode, it takes that method signature a converts it to a *method symbol*, a
number that uniquely identifes that method. That's the only part of the process
that requires treating a signature as a string.
bytecode, it takes that method signature and converts it to a *method symbol*,
a number that uniquely identifes that method. That's the only part of the
process that requires treating a signature as a string.

At runtime, the VM just looks for the method *symbol* in the receiver's class's
method table. In fact, the way it's implemented today, the symbol is simply the
Expand Down

0 comments on commit bd07122

Please sign in to comment.