google / open-location-code

Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.
https://plus.codes
Apache License 2.0
4.06k stars 472 forks source link

Test for efficient implementation #444

Open fulldecent opened 3 years ago

fulldecent commented 3 years ago

This PR is included inside (actually, obviated by) https://github.com/google/open-location-code/pull/463

And additionally, specification is added:

Longitude inputs MUST NOT cause runtime performance linearly dependent on the longitude. E.g. use LONGITUDE % 360, not WHILE (LONGITUDE > 180) LONGITUDE -= 360.