Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] comparison with CORE::expr type takes forever
- Date: Thu, 4 Oct 2007 21:57:40 -0400 (EDT)
On Thu, October 4, 2007 4:24 pm,
wrote:
> I am implementing an event-based algorithm, which has to be very robust
> in order to wprk properly. Unfortunately, I can't use rational numbers,
> and so I tried to apply CORE::expr types (I need closure for the usual
> arithmetics and square root).
For your needs, LEDA is another option.
> However, when I try to compare two CORE::expr numbers which are very
> close, but that were calculated different, the comparison takes an
> unproportionate amount of times (sometimes severel minutes), and smetimes
> it just gets stuck.. am I doing something wrong? (or is there a more
> prefered number type?)
I had similar experiences. To my interests, CORE can be 70 times slower
than double.
If you are new to CORE, try to start from reading CORE Library Tutorial,
there they actually explained the trade off of accuracy and inefficiency;
how to speed up CORE; and stack overflow (stuck.. in your words).
If you are using CGAL, try use filtered_kernel.
And always try to optimize your code.
Good luck,
Linqiao
>
> Amir.
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
- comparison with CORE::expr type takes forever, avaxman, 10/04/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, lzhang15, 10/05/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, Monique . Teillaud, 10/05/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
- straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Monique . Teillaud, 10/05/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Andreas Fabri, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Andreas Fabri, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
- straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Monique . Teillaud, 10/05/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
Archive powered by MHonArc 2.6.16.