Subject: Re: [nmr_sparky] First peak deletion is very slow
From: Thomas Goddard
Date: Jun 28, 2007

Previous: 392 Next: 399


Hi Markus,

Im not sure why deleting a peak in Sparky for the first time takes a
few seconds on some machines. On a Mac OS 10.4 with Sparky 3.112 and
about 6000 peaks deleting the first peak takes maybe 0.5 seconds -- but
I can see that subsequent peak deletes are faster, instantaneous. Even
if I put a single peak marker on a spectrum and delete it, then there is
a 0.5 second pause for the first delete. Seems like it might be a
operating system issue like dynamically linking a new shared library
that causes the pause. If I close a project and reopen it without
quitting Sparky I dont see any delay on deleting the first peak. I see
the delay with or without Python. It is a mystery I probably will not
have time to solve. Making Sparky work on Windows Vista is what I plan
on doing next if I find time to work on Sparky.

Tom