Ignore:
Timestamp:
13/10/09 10:44:23 (11 years ago)
Author:
pnorton
Message:

Improved the performance of the getUniqueValues method on the grid, also cached the result to avoid the cost of re-calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/geoplot/trunk/lib/geoplot/tests/unit/test_grid_builder_lat_lon_2.py

    r5826 r5835  
    99import numpy 
    1010from mock import Mock 
    11 import mock 
    12  
    13  
    14  
    15 def _is_magic(name): 
    16     if name == '__getslice__': 
    17         return False 
    18     return '__%s__' % name[2:-2] == name 
    19  
    20 mock._is_magic = _is_magic 
    2111 
    2212import nose.tools as nt 
    2313 
    24 import geoplot.grid_builder_base 
    2514from geoplot.grid_builder_lat_lon import GridBuilderLatLon 
    26 from geoplot.grid import Grid 
    2715 
    2816 
Note: See TracChangeset for help on using the changeset viewer.