-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support kwargs in method calls (#440)
* remove support for instance literals in constructors * update all instance creation syntax to use () not {} * add kwargs to external calls * support kwargs in ruby methods * python test for kwarg methods * rubocop * Slightly simplify Ruby kwargs handling * update call macro for kwargs; use Call for constructors in tests instead of InstanceLiteral * Thread kwargs through integration tests * add kwarg tests to rust integration_test * Fix calls with kwargs on Ruby < 2.7 * Comment Ruby version stuff * add no kwarg check to Java for calls * ruby test for kwargs with method calls * broken JS tests, WIP * Kill SimpleCall lalrpop production * Fix JS kwargs tests * Tweak Python kwargs handling * add kwargs to POLAR_LOG * format * whitespace * whitespace * Async keyword only needed if await used in function body * Assert against error type instead of string matching * Changelog Co-authored-by: Alex Plotnick <[email protected]> Co-authored-by: Gabe Jackson <[email protected]> Co-authored-by: Sam Scott <[email protected]>
- Loading branch information
1 parent
ed77d3c
commit 072a0e3
Showing
29 changed files
with
397 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
072a0e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust Benchmark
unify_once
649
ns/iter (± 30
)657
ns/iter (± 77
)0.99
unify_twice
2178
ns/iter (± 68
)2284
ns/iter (± 184
)0.95
many_rules
61155
ns/iter (± 3827
)64961
ns/iter (± 6306
)0.94
fib/5
453585
ns/iter (± 12805
)487473
ns/iter (± 30303
)0.93
prime/3
16406
ns/iter (± 3297
)17619
ns/iter (± 4058
)0.93
prime/23
16501
ns/iter (± 1085
)17347
ns/iter (± 1232
)0.95
prime/43
16438
ns/iter (± 1079
)17798
ns/iter (± 1191
)0.92
prime/83
16440
ns/iter (± 928
)17182
ns/iter (± 1426
)0.96
prime/255
14922
ns/iter (± 925
)15936
ns/iter (± 1180
)0.94
indexed/1
4864
ns/iter (± 481
)5147
ns/iter (± 314
)0.95
indexed/10
4967
ns/iter (± 372
)5544
ns/iter (± 649
)0.90
indexed/100
5526
ns/iter (± 927
)5789
ns/iter (± 1028
)0.95
This comment was automatically generated by workflow using github-action-benchmark.