[Gdal-dev] trivial (?) optimization for gdal.i:GDALReadRaster()
Alessandro Amici
alexamici at fastwebnet.it
Wed Feb 4 10:05:53 EST 2004
On Wednesday 04 February 2004 12:38, Alessandro Amici wrote:
> this is my first time at playing with python extensions, so Frank please
> double check the patch. anyhow, it has been tested and works here.
d'oh!
my previous patch is missing a NULL check, and had an off by one introduced
after having tested it :(.
both problems are fixed below.
(to my partial excuse the malloc call was missing the NULL check as well)
cheers,
alessandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-read-speed.diff
Type: text/x-diff
Size: 828 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040204/3d0fcdc6/python-read-speed.bin
More information about the Gdal-dev
mailing list