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

OSGeo / gdal / 10641138614
72%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2024 02:30AM UTC
Jobs 1
Files 1783
Run time 3min
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

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

Jobs
ID Job ID Ran Files Coverage
1 10641138614.1 31 Aug 2024 02:30AM UTC 0
69.35
GitHub Action Run
Source Files on build 10641138614
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10641138614
  • 526b28c0 on github
  • Prev Build on master (#10638106829)
  • Next Build on master (#10653057773)
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