-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: reduce threading overhead (#50)
This redesign increases the size of each thread's task to be a 2D slice instead of a single row. This vastly reduces the ratio of threading overhead to actual work and makes even single thread mode faster. Threading is overall more effective. Thanks @Pavlik1400 for the contribution!
- Loading branch information
Showing
2 changed files
with
47 additions
and
61 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