<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 30. Aug 2017, at 10:18, Tomaz Canabrava <<a href="mailto:tcanabrava@kde.org" class="">tcanabrava@kde.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Robert,<br class=""><br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is still missing:<br class="">
A ui element to turn this expensive calculation off.<br class=""></blockquote><div class=""><br class=""></div><div class="">This is easy to add, wouldn't take me much time.</div></div></div></div></div></blockquote><div><br class=""></div>Yes, that is something even I can do, just haven’t had time so far.<br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Finally, thanks to signals/slots flying in all directions, I do not understand when exactly the planner is called. I am under the impression it is called three times upon each change of a dive parameter in the UI. By understanding this, there is a possible 200% performance gain in sight.<br class=""></blockquote><div class=""><br class=""></div><div class="">I need to look into this, can you tell me the entry point so I can debug?</div></div></div></div></div></blockquote><br class=""></div><div>Just place a breakpoint on the beginning of plan() in planner.c. Besides my new code and the tests this gets called in two places (and even there it is not obvious why those two places are necessary). Then enter the planner and move a waypoint around. For example using the cursor keys (as then you have control over how often you change things) and see how often the breakpoint gets hit.</div><div><br class=""></div><div>Best</div><div>Robert</div><br class=""></body></html>