sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 04/04: Increase minimal tile size for isoline computation, because our algorithm operates better on large tiles.
Date Fri, 22 Jan 2021 23:43:06 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 5ac3ea3f9d58e6e497664d1b14a8dd27ea455265
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sat Jan 23 00:42:16 2021 +0100

    Increase minimal tile size for isoline computation, because our algorithm operates better
on large tiles.
---
 .../java/org/apache/sis/internal/processing/image/TiledProcess.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/sis-feature/src/main/java/org/apache/sis/internal/processing/image/TiledProcess.java
b/core/sis-feature/src/main/java/org/apache/sis/internal/processing/image/TiledProcess.java
index 350cdd8..8adf66e 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/internal/processing/image/TiledProcess.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/internal/processing/image/TiledProcess.java
@@ -68,7 +68,7 @@ abstract class TiledProcess<R> {
      * Minimal "tile" size for sub-tasks computation. That size should not be too small because
the
      * fork/join processes have some extra cost compared to processing the whole image as
one single tile.
      */
-    private static final int MIN_TILE_SIZE = 400;
+    private static final int MIN_TILE_SIZE = 1000;
 
     /**
      * Number of threads that are running. This is used for knowing when a thread is the
last one.


Mime
View raw message