Yeah, that makes sense.
The preferences are read via calls to the macOS command line "defaults" command, so a process is spawned for each variable that is read. This could be improved by directly reading & parsing the plists or, at the very least, grabbing all variables with a single call to "defaults."
On Nov 12, 2019, at 9:10 PM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Tue, 12 Nov 2019 20:21:06 +0100 From: iftah gabbai <ift.gab@gmail.com mailto:ift.gab@gmail.com> To: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> Cc: Christof Ressi <christof.ressi@gmx.at mailto:christof.ressi@gmx.at>, Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: Re: [PD] lag when starting sub-process Message-ID: <CA+d=bQL6a1UHG+kZ5_J7ysNMn7quu6oSqb6bYocFno-XyFgDiQ@mail.gmail.com mailto:CA+d=bQL6a1UHG+kZ5_J7ysNMn7quu6oSqb6bYocFno-XyFgDiQ@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
just a short followup - on mac "-noprefs" makes a huge difference!
best
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/