Skip to content

C cleanup / optimization #129

@brendan-ward

Description

@brendan-ward

Running list of things spotted in C code that can be cleaned up, refactored, or otherwise optimized:

  • count_coordinates and get_coordinates can use METH_O for args in instead of METH_VARARGS, and skip arg parsing
  • STRtree _geoms should allocate an array since size is known at construction time, instead of using resizeable vector, which results in lots of reallocations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorRestructure code without changing functionto-shapelyThis issue needs to be transferred to shapely

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions