• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OSGeo / gdal / 10641138614 / 1
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2024 02:30AM UTC
Files 1783
Run time 43s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Aug 2024 01:09AM UTC coverage: 69.353% (+0.001%) from 69.352%
10641138614.1

push

github

web-flow
Python bindings: Avoid linear scan in gdal_array.NumericTypeCodeToGDALTypeCode (#10694)

Avoids a surprisingly expensive lookup in gdal_array.NumericTypeCodeToGDALTypeCode. This was showing up in profiling of a script that calls ReadAsArray many times; these changes improve total script runtime by ~10%.

I re-implemented the function flip_code because I saw it used in the wild: https://github.com/search?q=gdal_array.flip_code&type=code

542707 of 782533 relevant lines covered (69.35%)

214583.04 hits per line

Source Files on job 10641138614.1
  • Tree
  • List 1783
  • Changed 339
  • Source Changed 0
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10641138614
  • 526b28c0 on github
  • Prev Job for on master (#10638106829.1)
  • Next Job for on master (#10653057773.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc