[GRASS-dev] [GRASS GIS] #2035: v.kcv optimization

Jan Růžička jan.ruzicka at vsb.cz
Fri Jul 19 05:36:27 PDT 2013


Thank you, we would like to help more, but C is not our favorite language.

Kind regards

Jan Ruzicka

On 18.7.2013 11:02, GRASS GIS wrote:
> #2035: v.kcv optimization
> -------------------------+--------------------------------------------------
>   Reporter:  mmetz        |       Owner:  grass-dev@…
>       Type:  enhancement  |      Status:  new
>   Priority:  normal       |   Milestone:  7.0.0
> Component:  Vector       |     Version:  svn-trunk
>   Keywords:  v.kcv        |    Platform:  Unspecified
>        Cpu:  Unspecified  |
> -------------------------+--------------------------------------------------
>
> Comment(by mmetz):
>
>   Some comments on the patch:
>
>   The patch makes sense to me and is indeed a substantial speed improval.
>   However, partitions were confused with categories. The patch was written
>   in C++ style, but the module is a C module. I made further changes to the
>   patch: the attribute table of current vector is modified instead of
>   creating a new vector, giving a further speed-up. The vector is opened
>   without topology, that makes it easier for larger point clouds. Updating
>   the database uses db_[begin|commit]_transaction(), giving a further speed-
>   up.
>
>   Thanks for your contribution!
>



More information about the grass-dev mailing list