[GRASS-git] [OSGeo/grass-addons] 004400: r.curvenumber: replace python implementation with ...

Abdullah Azzam noreply at github.com
Mon Dec 1 07:57:51 PST 2025


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 004400c256db7463e66ce74669b781adac937c3f
      https://github.com/OSGeo/grass-addons/commit/004400c256db7463e66ce74669b781adac937c3f
  Author: Abdullah Azzam <mabdazzam at outlook.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    M src/raster/r.curvenumber/Makefile
    A src/raster/r.curvenumber/global.h
    A src/raster/r.curvenumber/lut.c
    A src/raster/r.curvenumber/main.c
    R src/raster/r.curvenumber/r.curvenumber.py

  Log Message:
  -----------
  r.curvenumber: replace python implementation with c version (#1550)

The previous Python version was used on a nominal sized region (nrows = 47104, ncols = 36785) and /usr/bin/time reported that wall-clock time was 1h33m52s, whereas this C implementation took 1m37.69s (a speedup of ~57.6x).
The module interface and outputs are unchanged; only the implementation has been ported to C.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list