null+****@clear*****
null+****@clear*****
2012年 6月 6日 (水) 13:07:04 JST
HAYASHI Kentaro 2012-06-06 13:07:04 +0900 (Wed, 06 Jun 2012) New Revision: 0f02c4c87405d7bc97363968c79ff56f0cfc11b0 Log: geo: apply inline to geo_quadrant_type refs #1386 This fix improves the performance penalty introduced at revision 397bbc80 Modified files: lib/geo.c Modified: lib/geo.c (+1 -1) =================================================================== --- lib/geo.c 2012-06-06 10:50:38 +0900 (c49422a) +++ lib/geo.c 2012-06-06 13:07:04 +0900 (a3916b0) @@ -1869,7 +1869,7 @@ geo_longitude_distance_type(int start_longitude, int end_longitude) } } -static quadrant_type +static inline quadrant_type geo_quadrant_type(grn_geo_point *point1, grn_geo_point *point2) { #define QUADRANT_1ST_WITH_AXIS(point) \