Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/georust/geographiclib-rs

A port of geographiclib in Rust.
https://github.com/georust/geographiclib-rs

Merge #18

18: Ci r=michaelkirk a=stonylohr

- [ ] I agree to follow the project's [code of conduct](https:...

732b61742704245e8e1383137d1c39757355abe0 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
added bench groups and adjusted measurement time for full mode

ee278dd9e53b8c67aa9320e64d2d3927803862a6 authored almost 4 years ago by Stony <[email protected]>
added variable input support to benches, similar to tests

bbb08bc096ee1b9d65da3c8d925c74f261cbf71c authored almost 4 years ago by Stony <[email protected]>
Merge branch 'mkirk/ci' of git://github.com/georust/geographiclib-rs into ci

47a346e2b013c1ff06afa61f4bd7f4673a81c654 authored almost 4 years ago by Stony <[email protected]>
Merge #17

17: hook up CI r=michaelkirk a=michaelkirk

- [x] I agree to follow the project's [code of condu...

2e519aaca0aaf8cbfd48921577be47355d5ce289 authored almost 4 years ago by bors[bot] <26634292+bors[bot]@users.noreply.github.com>
By default, don't require downloading additional test data

We don't want the tests to fail for someone who first clones the repo.

4cc26458726b769abbb48346b76c6c848303036e authored almost 4 years ago by Michael Kirk <[email protected]>
add bors

6c99b88ff9661b10633c62eae0906b46aa9aa6ef authored almost 4 years ago by Michael Kirk <[email protected]>
added tests based on standard Karney unit tests

d6add8c7540347a152bd3c66f5292e638daba57b authored almost 4 years ago by Stony <[email protected]>
download test data

ea3b2fa7095f0823f8e684c3fac38cf8d31048df authored almost 4 years ago by Michael Kirk <[email protected]>
ci config

d1a3cd6fc3c635d1bdf301569bf6ac561996f90a authored almost 4 years ago by Michael Kirk <[email protected]>
configurable test input

5596d1a31e03f2ee0affb4764f1fe0d60a793a65 authored almost 4 years ago by Michael Kirk <[email protected]>
frontmatter

197800a8d7ee7a012c9e846576ab40dcaf0db54b authored almost 4 years ago by Michael Kirk <[email protected]>
cargo fmt

ef726510eea5c0663b0ba2d08bd0de23bef20d2f authored almost 4 years ago by Michael Kirk <[email protected]>
initial GeodTest.dat validation

* draft reduced GeodTest.dat validation, still adjusting

* tolerance adjustments, still in pr...

60f94c19edc1efdb88d338087e92969e366fb35c authored almost 4 years ago by stonylohr <[email protected]>
link to docs

3dd622a8f96aa5156343750e81c34643a92e3783 authored over 4 years ago by Michael Kirk <[email protected]>
clearer docs

efeb9bca5da53b0314dc4ef8aa50b40cdf75c735 authored over 4 years ago by Michael Kirk <[email protected]>
update readme

a4903c521c82b5b6b9665ddb0dff38fbbe325bb1 authored over 4 years ago by Michael Kirk <[email protected]>
fix authors field

81e81a6b2f27b21a9e7002b7b8b78e771472cc5e authored over 4 years ago by Michael Kirk <[email protected]>
readme links to c-bindings

b0d38c7420b924cbdae12cdd2fa0d3463487f8d0 authored over 4 years ago by Michael Kirk <[email protected]>
add details to Cargo.toml

7a202e4bb78ffcdd932487373a0d1fe36b498cdb authored over 4 years ago by Michael Kirk <[email protected]>
cargo fmt

74c7847d51b7933c7a7666ab0c0d61c809b55e35 authored over 4 years ago by Michael Kirk <[email protected]>
use static for wgs84

b1fd90008c979e8f070bbf1c2810a0606b36329c authored over 4 years ago by Michael Kirk <[email protected]>
dont track cargo.lock for lib

e23465daceaa12c06b85404b215706dd64d4636f authored over 4 years ago by Michael Kirk <[email protected]>
consistent float usage

50810bd858a6746628a523409818c789251995cf authored over 4 years ago by Michael Kirk <[email protected]>
Merge branch 'mkirk/cleanup'

fb97f6aeee0ca74c6728fcded7bd15ad66309c3c authored over 4 years ago by Michael Kirk <[email protected]>
remove unused dependencies

2ea17a79bde44d2d6596fc66131c1b3d456595c2 authored over 4 years ago by Michael Kirk <[email protected]>
add myself to authors

2f424745962ee125e3c0cf5a02b2ed2faf1820cd authored over 4 years ago by Michael Kirk <[email protected]>
method rename

a67c85c27315eaea9e4f5a50814ede2109409551 authored over 4 years ago by Michael Kirk <[email protected]>
update README

868e9b5acaec001631b7d9b9d2e8a3aa18f2144e authored over 4 years ago by Michael Kirk <[email protected]>
track bench input, remove profiling scripts

11aa580b25a772164e979ad6cc75863c65f82cee authored over 4 years ago by Michael Kirk <[email protected]>
better naming?

Before:

pub use geodesic::Geodesic;

// cannot have method with the same name, so have ...

8b4b4b0515c65ca00a6dd141b4a4fdf29e7b3f8c authored over 4 years ago by Michael Kirk <[email protected]>
cleanup: prefix unused vars, allow cases to match reference impl, remove

unused code

6c39f176709db69b7e648974e26ff80ac4ed0792 authored over 4 years ago by Michael Kirk <[email protected]>
keep unused method around for now

f443557df9844bd92a6a6728a283c0cee3edc106 authored over 4 years ago by Michael Kirk <[email protected]>
cleanup: use wgs84 getter

e92719da25bdf5eed5a30d9e8a288de7f430a9ba authored over 4 years ago by Michael Kirk <[email protected]>
fixup test

35f58e3e39f19f0d11bdfc1e42f162e1520ac344 authored over 4 years ago by Michael Kirk <[email protected]>
wip on batch malloc: better though to just stack allocate

af86ca2c31f11c8c9ee0d2129e7b277fa95bd0c5 authored over 4 years ago by Michael Kirk <[email protected]>
move check out of loop

Running target/release/deps/geodesic_benchmark-04858faaf6ef041a
direct (pure rust) tim...

73abc4283ffa40d63b13a2a8909540e719247965 authored over 4 years ago by Michael Kirk <[email protected]>
more stack allocation. Does this make sense though? Geodesic order was previously property of geodesic, not a constant from the perspective of the geodesic line

2fabe64f6a8279fb41d955244d70d21b822474d2 authored over 4 years ago by Michael Kirk <[email protected]>
profiling scripts

a586a7bbbaf9fceb2ed5f18df7a3b23c587abe11 authored over 4 years ago by Michael Kirk <[email protected]>
constant arrays vs lazy statics

522fb22122d96205df2d1bdf2f1ab48c73aa5d16 authored over 4 years ago by Michael Kirk <[email protected]>
remove debug from profile.release

979ccca5a9fc0424917836bc5b87f45e10276842 authored over 4 years ago by Michael Kirk <[email protected]>
remove unused crate

8c8fa148ffb7296e80e95a27c89a872330ce07e9 authored over 4 years ago by Michael Kirk <[email protected]>
faster to alloc empty arrays, since initial values weren't used

32840a05495be9aed2ad29e781f4d3e0ece55aae authored over 4 years ago by Michael Kirk <[email protected]>
wip: inverse result is not a hashmap

hashmaps are expensive. This is a relic of the python port.

aafef70b8c3363d1bc79b7ed6e40ed23839a9583 authored over 4 years ago by Michael Kirk <[email protected]>
use stack arrays where possible

d9d81a553f5c14674645d1d51d214ca0beb05366 authored over 4 years ago by Michael Kirk <[email protected]>
avoid vec

8d766edeac0331dfe8049ef8f595cf846aa5e335 authored over 4 years ago by Michael Kirk <[email protected]>
avoid unnecessary cloning in sin_cos_series

cargo bench output:

Running target/release/deps/geodesic_benchmark-c2f88471cb76ce04
direct...

472acd34ecfc2aeacc4bf8a11a81aa1c13b86fba authored over 4 years ago by Michael Kirk <[email protected]>
allocate arrays without iterator, their initial value wasn't used.

45723104d522fe18f30fc63d11f3a8f668356f8a authored over 4 years ago by Michael Kirk <[email protected]>
save ~60% runtime for direct computation

Two major things account for the wins here:

1. We return a tuple rather than a HashMap which av...

2bdf3ec0e48b60706121b9be1c7981237153b502 authored over 4 years ago by Michael Kirk <[email protected]>
remove unnecessary clones

d010f7e95ff5677df3576b74a7dbd11ed8e751b0 authored over 4 years ago by Michael Kirk <[email protected]>
WIP profiling method

295db45ca8836afb347ff6c0fd8c862a0324e81d authored over 4 years ago by Michael Kirk <[email protected]>
use statics

Running target/release/deps/geodesic_benchmark-60516ac2b54d3c0e
direct (pure rust) tim...

a81c2ff17f11384c73b6ec3c9807221d2d8b938a authored over 4 years ago by Michael Kirk <[email protected]>
profile script for inverse calc

3e8e16f13b30025304398bdeed4248abef70d174 authored over 4 years ago by Michael Kirk <[email protected]>
baseline benchmark

Running target/release/deps/geodesic_benchmark-55d22229b0b5a6a3
direct (c wrapper) tim...

a016e8437768d15d0c207b5d9fe14258374532a6 authored over 4 years ago by Michael Kirk <[email protected]>
Merge branch 'mkirk/correctness'

1368fc5b789e15db37010b6ff02ff9170caf6a41 authored over 4 years ago by Michael Kirk <[email protected]>
rename ang_normalize -> AngNormalize to match upstream

I think this was just renamed by the porter for some reason, but it
makes comparison harder.

67780bfe4f0587aa7e0b933dee7917c76e164faa authored over 4 years ago by Michael Kirk <[email protected]>
Fix inverse calculation edge case.

It seems like there was a transcription error when transcribing the
python "ternary" expressions...

73f4782b29878688d1f53818d2e03abf432431ec authored over 4 years ago by Michael Kirk <[email protected]>
port changes to cbrt, though currently we use the builtin f64 impl for

this method rather than this custom impl

edb81c0d2519385b226db832693f490a2382c7f9 authored over 4 years ago by Michael Kirk <[email protected]>
public accessors

a2e85ec935e48d2a66fb5cf29a43cf3da1ad76d2 authored over 4 years ago by Michael Kirk <[email protected]>
copy in latest geodesicline.py

80a88cff9e6de5bdf4633f92bdbb74c47a104bf3 authored over 4 years ago by Michael Kirk <[email protected]>
upstream made changes to atanh, but we don't implement this method

ourselves anyway

fbbb951bfdd8ea06e8bf081d6ba86fba2fa50a3c authored over 4 years ago by Michael Kirk <[email protected]>
port changes to AngNormalize

78c02af2526c091499205fda3dcf4ef9b2b0ce12 authored over 4 years ago by Michael Kirk <[email protected]>
remove inturned python

cd9e25c376eec71e1c607f809bf1c1645d668c34 authored over 4 years ago by Michael Kirk <[email protected]>
replace python impl with upstream

8030565e0f39a0a903cd3c8a99c09d4c0c06d156 authored over 4 years ago by Michael Kirk <[email protected]>
cargo fmt

03d9993419a055fc7980d1c69cecae1f027b20ba authored over 4 years ago by Michael Kirk <[email protected]>
port changes to sincos

28335d9875433a800df1ad2ea9b52c8b17af7a54 authored over 4 years ago by Michael Kirk <[email protected]>
geodsolve cli

191d596e1d300367693f7049d9b20b68df76f4bf authored over 4 years ago by Michael Kirk <[email protected]>
avoid compiler warnings - we're matching case from the reference impl

cf959ff286cbcc47b28cda4bddfac9a8257a3633 authored almost 5 years ago by Michael Kirk <[email protected]>
rename package, package as lib

includes lib.rs so we can include it as an external crate

some temporary hacks to also expose c...

c62a0b721ae027d5e80a701f33b2350730ea9dd8 authored almost 5 years ago by Michael Kirk <[email protected]>
cargo fmt

0c6cc1541955764526b823ae1c3ab31d31a484cf authored almost 5 years ago by Michael Kirk <[email protected]>
re-import test cases from python

copy/pasted/formatted from python tests. Not sure if cases were missing
or just misordered.

6393e316ff1c6a84eef5ef0109e9898c67185bed authored almost 5 years ago by Michael Kirk <[email protected]>
cargo update for dev deps

b5f9356471ba4fe2847d317bc543ecb041690cf7 authored almost 5 years ago by Michael Kirk <[email protected]>
get tests passing

abd8c90e2165be36375d2947a5e020e829e9bb84 authored almost 5 years ago by Michael Kirk <[email protected]>
Update README.md

2193b2d7962ea127ef0f688499dd9bc3df97f52f authored over 5 years ago by Psykopear <[email protected]>
Update README.md

1cf71fd8dc93d68d92500da5d1abcc11a3cc7060 authored over 5 years ago by Psykopear <[email protected]>
Fix README.md

4d56a1c13513420bf9b9a1e72d645d55893dfbe7 authored over 5 years ago by Federico Dolce <[email protected]>
Cleanup

d68bfd5b62b10ee552b290b1ddab82ebb223b98f authored over 5 years ago by Federico Dolce <[email protected]>
Removed ArcPosition for now

eb8d1cdf28162de5eb2f584a333f1c4c6919b4a0 authored over 5 years ago by Federico Dolce <[email protected]>
Direct algorithm working!

80b741a40e3787648916b6d8b5bfaee6c77149ac authored over 5 years ago by Federico Dolce <[email protected]>
Ported _gen_position

d5d1c8cd361da6df3fac366c4ffb5b6f494a0e5f authored over 5 years ago by Federico Dolce <[email protected]>
Update README.md

fbe3505d77c277bbbca9b82956a71e422393db66 authored over 5 years ago by Psykopear <[email protected]>
Added GeodesicLine struct and init, and some refactoring

86e577a1ca4556513e3d9785c7532f20f8c8b71f authored over 5 years ago by Federico Dolce <[email protected]>
Update README.md

6d5a42348c3bfdb3192d40f04747303dad755142 authored over 5 years ago by Psykopear <[email protected]>
better readme

c7da907286973dceae6d8556a1b014f70c9a7724 authored over 5 years ago by Federico Dolce <[email protected]>
Removed not necessary lazy_static dependency

c64b7b30b96de5c8bb7ae4238fb5cc2389f08a71 authored over 5 years ago by Federico Dolce <[email protected]>
Added comparison with rust bindings of a stripped down implementation of geodesic

ea2224073e18a4cfa217f81e8a683fba79bd6e97 authored over 5 years ago by Federico Dolce <[email protected]>
Ported _Lengths, not tested yet

8fde3fab0b417e5c534b1fb9a386f7e7b9baa970 authored over 5 years ago by Federico Dolce <[email protected]>
Porting ongoing

bc976b58a829a8020d26031363fbe654cf7f31e0 authored over 5 years ago by Federico Dolce <[email protected]>
Fixed sin_cos_series and now _Lengths passes tests

61b1f83ec881a43bd304c6b4a64e15ca4bca5fba authored over 5 years ago by Federico Dolce <[email protected]>
Using original api, will refactor later

f6fe5bcdae3aad319ba74427a688ac732712b615 authored over 5 years ago by Federico Dolce <[email protected]>
Outmask was not working as intended, so i commented it out for now

a0ecf8f6708d118d16be4ce1ad89fafe6442e994 authored over 5 years ago by Federico Dolce <[email protected]>
Ported inverse, not working yet

d771cb1173805f8f23ee7fd01b5445ff6fce1844 authored over 5 years ago by Federico Dolce <[email protected]>
More porting

928a11376ef58d02fea504be534bd408f8c82895 authored over 5 years ago by Federico Dolce <[email protected]>
Ported inversestart, not tested yet

6fd3d6549300da5a89b95633a8420af665d8b94d authored over 5 years ago by Federico Dolce <[email protected]>
Inverse passes all tests

7d294cbe6e12f7b72b8d4905d227689afeae2fe7 authored over 5 years ago by Federico Dolce <[email protected]>
Added some tests

fa0465b4b7a42d1df4589d773f4408fa5c9198c3 authored over 5 years ago by Federico Dolce <[email protected]>
INVERSE WORKING

46b7008560966840f4b37f1d01ab7b262532bcd1 authored over 5 years ago by Federico Dolce <[email protected]>
_Lambda12 now working too

06d6a8fd994ecd44af23b3dc666b9bb091f0a6e3 authored over 5 years ago by Federico Dolce <[email protected]>
A lot more tests passing

ce3cda149e5705ce2e808a467fbcc53cf7395958 authored over 5 years ago by Federico Dolce <[email protected]>
Initial commit

2355be1f146237f751d395d11085f60e683076ca authored over 5 years ago by Federico Dolce <[email protected]>