Subject: CGAL users discussion list
List archive
- From: Sagar Gandhi <>
- To:
- Subject: Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations
- Date: Tue, 19 Jan 2016 23:59:31 +0530
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:rMIlnB+nrMoH+f9uRHKM819IXTAuvvDOBiVQ1KB92uIcTK2v8tzYMVDF4r011RmSDduduqMP2reempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lRMiD3o/miqibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYhvQ66sQVUbnmZ79qCvtDHTE+OiY04tfqvF/NV0yU934EWyIXlBRPRAPK5RW/UpbquTbhrblB33yRMsTyCLw1Qj+/9LxDSRnyiS5BOSRq3nvQj5lLha1SulqOrhpzw4+cNI6cMvZ+f+XGdNwTXyxORe5eUiVABsW3aI5ZXLlJBvpRs4So/whGlhC5HwT5XO4=
I understood my mistake. I was using Epick and was also introducing the custom functions - which don't take care of precision.
So issue is resolved. If I use Simple_cartesian<double>, time difference is not considerable. But I am going ahead with Epick, and using CGAL's predicates, as all I have been working on is timing. On Mon, Jan 18, 2016 at 12:05 PM, Marc Glisse <> wrote:
On Sun, 17 Jan 2016, s_gandhi wrote:
Please find the code in the attached file named "Custom_vs_CGAL_speed.cpp".
Also find the screenshot of timings on my machine, named "cgal_speeds_1.png"
I am using EPIC,
so should I implement the stuff myself? It gives me better timings.
And if I compare any CGAL's examples with my implementation, I (am) will be
faster.
You should benchmark against Simple_cartesian<double>, not Epick, since you don't seem to aim for exactness.
Please read the link I gave in the previous email and understand that your code will sometimes give the wrong result, which is why we cannot use it in Epick.
--
Marc Glisse
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, s_gandhi, 01/15/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Marc Glisse, 01/15/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, s_gandhi, 01/15/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Marc Glisse, 01/15/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, s_gandhi, 01/18/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Marc Glisse, 01/18/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Sagar Gandhi, 01/19/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Marc Glisse, 01/18/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, s_gandhi, 01/18/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Marc Glisse, 01/15/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, s_gandhi, 01/15/2016
- Re: [cgal-discuss] Coding Conventions - CGAL methods VS custom implementations, Marc Glisse, 01/15/2016
Archive powered by MHonArc 2.6.18.