<p dir="ltr">No, as far as the current design is concerned, as pd calculates getrect for every object to see if the new mouse position is on top of something clickable. For this reason, abstracting your mega-patch into subpatches (where possible) is not only a good programming practice for the purpose of legibility and reusability, but also for performance reasons. HTH</p>
<div class="gmail_quote">On Jan 7, 2015 6:19 PM, "Ed Kelly" <<a href="mailto:morph_2016@yahoo.co.uk">morph_2016@yahoo.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><font face="Arial">On Wednesday, 7 January 2015, 11:55, Ed Kelly <<a href="mailto:morph_2016@yahoo.co.uk" target="_blank">morph_2016@yahoo.co.uk</a>> wrote:<br> </font> <div><br><br></div><div style="display:block"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <br><br> <div><div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div dir="ltr"><span>What about this...</span></div><div dir="ltr"><br><span></span></div><div dir="ltr"><span>When I am editing a huge patch like the Ninja Jamm patch, where everything is on the same level (i.e. as few sub-patches as possible) moving the mouse over the patch causes a CPU spike, regardless of whether I change, move or connect anything or not.</span></div><div dir="ltr"><br><span></span></div><div dir="ltr"><span>Could this be changed? I don't know all the guts of Pd, but if you could just move around the mouse pointer without</span></div><div dir="ltr"><span>having to wait for 20 seconds or so before you can do anything, it would save a lot of time.<br></span></div><div dir="ltr"><br><span></span></div><div dir="ltr"><span>I think I heard once that any change to the patch means that Pd has to re-draw the entire graph. IMHO surely moving the mouse should not require this? I wait to be corrected!</span></div><div><div> </div><div dir="ltr">x</div><div dir="ltr">Ed<br></div><div><br></div></div><div><div>Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad<br><a href="http://www.ninjajamm.com/" target="_blank">http://www.ninjajamm.com/</a></div><br><br><div>Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!<br><a href="http://sharktracks.co.uk/" target="_blank">http://sharktracks.co.uk/</a> </div></div></div></div></div><br>_______________________________________________<br>Pd-dev mailing list<br><a href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a><br><a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br><br><br></div> </blockquote>  </div> </div>   </div> </div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div>