Boost logo

Geometry :

Subject: [ggl] ggl::overlaps
From: Chris Browet (cbro)
Date: 2009-06-18 05:23:38


BTW, for ggl::overlaps, wouldn't AND'ing be more efficient than OR'ing?

If I had to write an optimized compiler, I'd say that if the first condition
of a AND is false, I'd bail out with FALSE without testing the other
conditions, while OR'ing means you systematically have to test all
conditions....

- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20090618/75e9d9ba/attachment.html


Geometry list run by mateusz at loskot.net