Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Optimize processAVTile #1987

Closed
wzdev-ci opened this issue Jul 12, 2010 · 5 comments
Closed

Optimize processAVTile #1987

wzdev-ci opened this issue Jul 12, 2010 · 5 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_closed type_patch (an actual patch, not a request for one) | by cybersphinx


This patch is the result of a bit of profiling (highly optimized 2.3 build), where processAVTile came out on top. Splitting mapTile into a version without boundary checking and calling that inside a for-loop over the map (where by definition we are not outside the map) put processAVTile down into the noise (from ~4% to ~0.4%).

This is for 2.3, haven't looked into trunk yet.


Issue migrated from trac:1987 at 2022-04-15 22:06:50 -0700

@wzdev-ci
Copy link
Contributor Author

cybersphinx uploaded file optimize-processAVTile.patch (1.5 KiB)

@wzdev-ci
Copy link
Contributor Author

Per commented


Please make the no check version a macro, or this will hurt so much for -O0 debug users.

This problem has been solved differently in trunk, with the wavecast code. I proposed we backport the wavecast code for 2.3 (in addition to the above patch).

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Aug 8, 2010

cybersphinx uploaded file optimize-AVTile-2.patch (7.4 KiB)

Use the NoChecks version in a few more places.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 3, 2012

cybersphinx changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 3, 2012

cybersphinx changed resolution from `` to closed

@wzdev-ci wzdev-ci closed this as completed Jan 3, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant