Open-Infra-Platform icon indicating copy to clipboard operation
Open-Infra-Platform copied to clipboard

Slow calculation time for IfcSine and IfcCosine

Open Elvira2227 opened this issue 3 years ago • 1 comments

Describe the bug Calculation of IfcSine and IfcCosine takes a long time.

To Reproduce Steps to reproduce the behavior:

  1. Go to CurveConverter.h
  2. Scroll down to the line 2693 for IfcSine or to the line 2748 for IfcCosine
  3. Set an additional breakpoint if necessary
  4. Wait for the end of the calculation

CMake configuration If applicable, list any special configurations you have selected in CMake.

  • EARLYBINDING_WITH_IFC4X3_RC4: selected

Additional context On my machine it took approximately 9 minutes.

Elvira2227 avatar Jul 29 '22 12:07 Elvira2227

Well that's just how the calculation is organized. Improvements are definitely possible. But I would argue that this currently has a low priority.

pjanck avatar Aug 11 '22 14:08 pjanck