Subject: Re: First peak deletion is very slow
From: Markus Heller
Date: Jul 3, 2007

Previous: 395

Hi Tom,

thanks for your reply.

To be honest, it doesnt really bother me that much; i was just
curious what could possibly be a reason ... Didnt think of
dynamically linking and stuff.

Thanks and cheers
Markus

PS: Good luck with the Vista-quest!!!

--- In nmr_sparky@yahoogroups.com , Thomas Goddard goddard@... wrote:

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