Bug 84 : scanning sketchbook folder may be extremely slow
Last modified: 2005-07-28 15:12




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P5
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-07-15 17:19
when lots of saveFrame() action may be taking a long time to scan the folder..

is there a way to deal with this better?
Additional Comment #1 From fry 2005-07-15 17:19
Additional Comment #2 From fry 2005-07-28 15:03
this may have been because of the err, known to be slow sort method that
was being used on the files.. didn't take into account that people would
have enormous sketch folders because of the frames and other crap that
makes its way in there.

patched to use Arrays.sort() for 0093, which should fix things, so closing
bug (unless further word that it's still a problem).
Additional Comment #3 From fry 2005-07-28 15:12
also found that each file was foolishly being pursued as a directory (which
had high overhead because of the new JMenu created) so now only directories
are being pursued.