![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
github.com/poker-mob/riverboat/eval
Riverboat is faster than
*Riverboat and notnil/joker's 6- and 7-card hand evaluation are not directly comparable to chehsunliu/poker's, as Riverboat and Joker return both the best 5 cards, as well as their absolute ranking, whereas Poker only provides the absolute ranking.
All benchmarks were measured over the same set of cards, and the timing did not include the conversion of cards from human-readable string form to native representation.
This benchmark was run on a 2018 Macbook Pro with an Intel i9-8950HK 2.9GHz processor. The precise benchmarks run can be found in benchmarks_test.go
$ go test -bench=. -benchmem -benchtime 5s
goos: darwin
goarch: amd64
pkg: github.com/alexclewontin/riverboat/eval
BenchmarkFiveJoker-12 190854 30169 ns/op 14430 B/op 657 allocs/op
BenchmarkFivePoker-12 36639379 156 ns/op 0 B/op 0 allocs/op
BenchmarkFiveRiverboat-12 59392126 92.6 ns/op 0 B/op 0 allocs/op
BenchmarkSixJoker-12 38364 158847 ns/op 67960 B/op 2923 allocs/op
BenchmarkSixPoker-12 4252222 1298 ns/op 288 B/op 9 allocs/op
BenchmarkSixRiverboat-12 5695171 1055 ns/op 288 B/op 9 allocs/op
BenchmarkSevenJoker-12 9788 564280 ns/op 265363 B/op 10231 allocs/op
BenchmarkSevenPoker-12 555128 10397 ns/op 2304 B/op 72 allocs/op
BenchmarkSevenRiverboat-12 746978 7663 ns/op 2016 B/op 63 allocs/op
PASS
ok github.com/alexclewontin/riverboat/eval 56.545s
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.