Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GDALTranspose2D() for fast 2D matrix transposition #11572

Merged
merged 11 commits into from
Jan 6, 2025

Conversation

rouault
Copy link
Member

@rouault rouault commented Jan 3, 2025

and use it in VRTProcessedDataset

On the use case of #11209 (comment) , "gdal_translate src.vrt dst.tif" runtime is reduced from 38 seconds to 22 seconds on my machine.

CC @dbaston

@rouault rouault added the funded through GSP Work funded through the GDAL Sponsorship Program label Jan 3, 2025
@rouault rouault added this to the 3.11.0 milestone Jan 3, 2025
@rouault rouault force-pushed the GDALTranspose2D branch 2 times, most recently from 7d51138 to f3559dc Compare January 3, 2025 18:57
@rouault rouault force-pushed the GDALTranspose2D branch 6 times, most recently from 1b925e2 to f01885b Compare January 5, 2025 00:20
@rouault rouault force-pushed the GDALTranspose2D branch 2 times, most recently from f5aa7fe to ed70234 Compare January 5, 2025 01:27
@coveralls
Copy link
Collaborator

coveralls commented Jan 5, 2025

Coverage Status

coverage: 69.959% (+0.01%) from 69.948%
when pulling 8043ece on rouault:GDALTranspose2D
into c3975ff on OSGeo:master.

@rouault rouault force-pushed the GDALTranspose2D branch 2 times, most recently from 9881325 to edea65f Compare January 5, 2025 05:43
@rouault rouault force-pushed the GDALTranspose2D branch 2 times, most recently from 8f6e3a6 to f8b9b26 Compare January 5, 2025 17:46
@rouault rouault merged commit 615fe1e into OSGeo:master Jan 6, 2025
38 checks passed
@dbaston
Copy link
Member

dbaston commented Jan 7, 2025

38 seconds to 22 seconds

Can confirm with 30s -> 20s here. Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
funded through GSP Work funded through the GDAL Sponsorship Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants