https://bugs.documentfoundation.org/show_bug.cgi?id=125619

--- Comment #26 from b. <[email protected]> ---
I'm actually not using Calc but came across an issue which remained me on the
comments / notes problem.  
_Assume_ it could be something like 'loop in loop', 'nested loops', which work
well when developed / tested / used with small datasets, but expose evil
'superlinear behaviour' reg. 'quadratic-' or 'exponential-explosion' with 'big
data' above some threshold.  
Such may harm execution time ( recursions ) or mem-usage ( large tables ) or
both.  
If someone knowing Calc's code finds such in it...  
- either avoiding nested loops,  
- if unavoidable work with binary search in sorted lists,  
- and or the proposals in  
https://answers.sap.com/questions/2497299/how-to-avoid-loop-inside-the-loop-.html
, 
https://answers.sap.com/questions/546841/how-to-avoid-the-loop-inside-loop-.html
,  
https://stackoverflow.com/questions/18014889/how-to-avoid-quadratic-computation-resulting-from-double-for-loop-when-computi
,  
could evtl. help?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to