Skip to content

Commit

Permalink
Docs: Tiny typo to Painless dispatch justification (#24588)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisivens authored and nik9000 committed May 11, 2017
1 parent 0fe6450 commit 5ff0824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/modules/scripting/painless.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ has <<painless-api-reference-Matcher-group-1, `group(int)`>> and
We have a few justifications for this different way of dispatching methods:

1. It makes operating on `def` types simpler and, presumably, faster. Using
receiver, name, and arity means when Painless sees a call on a `def` objects it
receiver, name, and arity means when Painless sees a call on a `def` object it
can dispatch the appropriate method without having to do expensive comparisons
of the types of the parameters. The same is true for invocations with `def`
typed parameters.
Expand Down

0 comments on commit 5ff0824

Please sign in to comment.