-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid hopping through memory if possible
Most cubes may well be smaller that 2^30 in size and, if so, we should avoid the extra hop via the array-of-arrays. Also, since we know that the arrays will never change under our feet, we don't need to be using an AtomicReferenceArray to access the sub-arrays. Avoiding the extra memory hop yields a 30% speed-up for some access patterns.
- Loading branch information
1 parent
022c197
commit 7cee6f0
Showing
6 changed files
with
315 additions
and
235 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
Oops, something went wrong.