forked from Nuitka/Nuitka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimization: Fixup performance regressions incurred
* Calling the specialized helper for same types is not fast enough, so inline that operation manually there. * When there is specialization for same types in a function, the fallback path cost a lot of performance, so force it to a separate function if it's present, and inline otherwise. * Some of these lessons are still to be applied to binary operation code.
- Loading branch information
Showing
16 changed files
with
7,766 additions
and
2,674 deletions.
There are no files selected for viewing
1,660 changes: 1,203 additions & 457 deletions
1,660
nuitka/build/static_src/HelpersOperationInplaceAdd.c
Large diffs are not rendered by default.
Oops, something went wrong.
496 changes: 361 additions & 135 deletions
496
nuitka/build/static_src/HelpersOperationInplaceBitand.c
Large diffs are not rendered by default.
Oops, something went wrong.
496 changes: 361 additions & 135 deletions
496
nuitka/build/static_src/HelpersOperationInplaceBitor.c
Large diffs are not rendered by default.
Oops, something went wrong.
496 changes: 361 additions & 135 deletions
496
nuitka/build/static_src/HelpersOperationInplaceBitxor.c
Large diffs are not rendered by default.
Oops, something went wrong.
736 changes: 572 additions & 164 deletions
736
nuitka/build/static_src/HelpersOperationInplaceFloordiv.c
Large diffs are not rendered by default.
Oops, something went wrong.
450 changes: 357 additions & 93 deletions
450
nuitka/build/static_src/HelpersOperationInplaceLshift.c
Large diffs are not rendered by default.
Oops, something went wrong.
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.