Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using generate_args0 : -20% exec time??? #2316

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c554028
Using generate_args0 : -20% exec time???
denis-migdal Nov 9, 2023
1c4006b
Add a cache for generate_args0
denis-migdal Nov 10, 2023
2545005
Use personnal fct.args_parser()
denis-migdal Nov 10, 2023
9d03dde
Begin init tests + fix bugs
denis-migdal Nov 10, 2023
734383e
Use fct..args_parser instead of fct.args_parser (temporary)
denis-migdal Nov 10, 2023
1f63170
Fix bugs, now requires to take into account __defaults__/__kwdefaults…
denis-migdal Nov 10, 2023
97d5729
Update args_parser when defaults are changed
denis-migdal Nov 10, 2023
2dbc0c7
Fix bugs - named parameters are sometimes empty
denis-migdal Nov 10, 2023
7c8c8d5
Passed all unit tests
denis-migdal Nov 10, 2023
baa6698
NOW all unit tests REALLY passed
denis-migdal Nov 10, 2023
abe28aa
remove getArgs0 from ast_to_js
denis-migdal Nov 11, 2023
0d6352b
Replace .args_parser by .
denis-migdal Nov 11, 2023
65d4fe9
Remove varargs & kwargs const variables
denis-migdal Nov 11, 2023
2a2fc5f
Remove Math.min(ARGS_POS_COUNT, PARAMS_POS_COUNT) when no varargs
denis-migdal Nov 11, 2023
acff5f4
HAS_KW const again
denis-migdal Nov 11, 2023
d0d1bc7
Remove unused PARAMS_NAMED_COUNT
denis-migdal Nov 11, 2023
289ac9f
Do not use PARAMS_POS_DEFAULTS\* when not positional defaults
denis-migdal Nov 11, 2023
a53b42c
Do not use PARAMS_POSONLY_COUNT and PARAMS_POS_DEFAULTS_MAXID when no…
denis-migdal Nov 11, 2023
d30baa7
Remove useless PARAMS_POS_DEFAULTS_MAXID
denis-migdal Nov 11, 2023
1deec90
Fix conditions that verified that all parameters are setted when DEFA…
denis-migdal Nov 11, 2023
b9c14eb
Remove PARAMS_NAMES and PARAMS_POS_COUNT when not needed
denis-migdal Nov 11, 2023
4e9ef14
Remove useless defaults for kwdefaults
denis-migdal Nov 11, 2023
e293aef
precompute fct.
denis-migdal Nov 11, 2023
ded826f
fix **kwargs parsing
denis-migdal Nov 11, 2023
aa8821f
Add + fix make_function_defaults loop
denis-migdal Nov 12, 2023
5ba401c
Use precomputed instead of indexOf
denis-migdal Nov 12, 2023
90d54ff
Remove console.log
denis-migdal Nov 12, 2023
270e339
Little clean
denis-migdal Nov 12, 2023
4b0d22a
Opti HAS_KW
denis-migdal Nov 12, 2023
e36bc69
fix
denis-migdal Nov 12, 2023
0a915e3
opti by using Set
denis-migdal Nov 12, 2023
a1f8d81
Optimize by using a Map
denis-migdal Nov 12, 2023
6a3589d
Update .args0
denis-migdal Nov 12, 2023
b4363ac
Merge branch 'master' into Issue-2283_improve-pr-2287_generate_args0
denis-migdal Nov 16, 2023
9c25c84
Fix bugs after merge
denis-migdal Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading