[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RNR-222360]: Potential optimization for netcdf-4.3.0



> The attached patch file has a potential optimization for the nc4_find_dim_len 
> function in libsrc4/nc4internal.c.  The patch eliminates several malloc/free 
> calls that exist in the original coding.  I have tested and used this 
> optimization quite a bit, but it is possible that there are bugs.
> 
> Let me know if this looks useful.

Yes, and it passes all our tests so far.  It looks good to me, so thanks for
the contribution!

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: RNR-222360
Department: Support netCDF
Priority: Normal
Status: Closed