-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce runtime of Go Encode() by another 25% (#649)
* Improve performance of Go Encode() implementation further Unroll loops to improve performance. Rewrite lat/lng rounding logic to avoid divides. Signed-off-by: Will Beason <willbeason@gmail.com> * Improve comments and function names in Go Encode() Also merge logic for lat/lng iterations as they are identical. Signed-off-by: Will Beason <willbeason@gmail.com> --------- Signed-off-by: Will Beason <willbeason@gmail.com> Co-authored-by: Doug Rinckes <drinckes@google.com>
- Loading branch information
1 parent
4b5d02f
commit 2586090
Showing
1 changed file
with
75 additions
and
41 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