[GRASS-dev] slow $PROMPT_COMMAND

Markus Neteler neteler at osgeo.org
Fri Sep 26 09:36:49 EDT 2008


On Fri, Sep 26, 2008 at 2:34 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
...
> Try --without-gdal.
>
> Here:
>
>        # 7.0, with GDAL
...
>        # 7.0, without GDAL
...

The timing differences are striking.

> Hmm. We might want to allow the r.external support (i.e. linking
> libgis against GDAL) to be enabled/disabled separately from the use of
> GDAL by lib/proj and r.{in,out}.gdal.

Could the GRASS-GDAL-Plugin-autoload mechanism adapted
somehow (of course that's the reverse direction)? The GRASS plugin
is only loaded on demand. This would slow down the command using
it but for r.external and r.{in,out}.gdal it might be irrelevant since
usually performed only one time.

Markus


More information about the grass-dev mailing list