[geos-devel] Unclear objects lifetime and ownership issues in Monotone Chain components

Mateusz Loskot mateusz at loskot.net
Wed Sep 24 17:52:34 EDT 2008


strk wrote:
> On Wed, Sep 24, 2008 at 10:50:59PM +0200, Mateusz Loskot wrote:
>>
>> So, tracking objects ownership and flows is very hard.
>> How do we know all users of given pool in given time (without
>> reading the whole codebase).
>
> Which is another well known problem: there are too many interfaces
> exposed. My solution was: warranty void if you don't use the C-API.

I don't have much comments on GEOS interfaces.

> So you'd basically follow the flow from C-API on.

Facing this particular problem, I am not how higher-level API
may help to solve low-level issues :-)

> The wider your pools, the more issues with memory and time boundaries.
> The closer-to-low-level-op you pool the better.

Probably right.

Anyway, I have to confess I feel powerless to solve it.

Best regards,
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the geos-devel mailing list