-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace function.replace by util variants
This patch removes the function.replace decorator and replaces it with _util.deep_replace_property (for simplified and optimized_for_numpy) and _util.shallow_replace (for replace_arguments, _deep_flatten_constants and _combine_loop_concatenates). The specialized variants are faster, use less memory, and offer better cache reuse.
- Loading branch information
Gertjan van Zwieten
committed
Mar 21, 2024
1 parent
7952101
commit 4f13590
Showing
1 changed file
with
17 additions
and
163 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