Commit 5d14b8d2 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

Applied patch from Zbigniew Chyla that further improves the

2007-06-11  Sven Neumann  <sven@gimp.org>

        Applied patch from Zbigniew Chyla that further improves the
        boundary_sort() performance (bug #388538):

        * base/boundary.c (cmp_xy): use "y" coordinate as more 
significant
        one, i.e. compare (ay, ax) to (by, bx), not (ax, ay) to (bx, 
by).

        * configure.in: bumped version to 2.3.19.


svn path=/trunk/; revision=22762
parent e83fe717
2007-06-11 Sven Neumann <sven@gimp.org>
Applied patch from Zbigniew Chyla that further improves the
boundary_sort() performance (bug #388538):
* base/boundary.c (cmp_xy): use "y" coordinate as more significant
one, i.e. compare (ay, ax) to (by, bx), not (ax, ay) to (bx, by).
* configure.in: bumped version to 2.3.19.
2007-06-11 Sven Neumann <sven@gimp.org>
 
* Made 2.3.18 development release.
......@@ -729,13 +729,13 @@ generate_boundary (PixelRegion *PR,
static gint
cmp_xy(gint ax, gint ay, gint bx, gint by)
{
if (ax < bx) {
if (ay < by) {
return -1;
} else if (ax > bx) {
} else if (ay > by) {
return 1;
} else if (ay < by) {
} else if (ax < bx) {
return -1;
} else if (ay > by) {
} else if (ax > bx) {
return 1;
} else {
return 0;
......
......@@ -8,7 +8,7 @@ AC_PREREQ(2.54)
m4_define([gimp_major_version], [2])
m4_define([gimp_minor_version], [3])
m4_define([gimp_micro_version], [18])
m4_define([gimp_micro_version], [19])
m4_define([gimp_real_version],
[gimp_major_version.gimp_minor_version.gimp_micro_version])
m4_define([gimp_version], [gimp_real_version])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment