Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse temp variables in Aabb2.transform methods. (#211)
* Reuse temp variables in Aabb2.transform methods. Improve consistency in avoiding public getters in a number of methods. Add benchmarks for affected code to ensure positive performance impact. Aabb2.transform is about 11% faster with these changes. Aabb2.rotate is about 17% faster with these changes. The rest of the changes had no measurable benchmark impact, but improve consistency in the source base. (Added .idea directory from IntelliJ/Android Studio to .gitignore) * Update 64-bit sources to match. * Ran dartfmt on files. * Apply same optimization to Aabb3 methods. Aabb3.transform is about 11% faster with the change. Aabb3.rotate is about 14% faster with the change.
- Loading branch information
1 parent
4b6d6a8
commit fdd8bf7
Showing
8 changed files
with
360 additions
and
118 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ pubspec.lock | |
.pub | ||
.packages | ||
.dart_tool | ||
.idea |
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
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.