rgheck schreef:
Vincent van Ravesteijn - TNW wrote:
Hi All, I made a document with 60 graphics in it, I selected all, and if I then
click somewhere to remove the selection, LyX treats me to one whole
minut to quickly brew some coffee.. Again, it has to do with file access as the same for a graphic on a
local drive does not show this delay.
I won't be able to find out where the bug is till tomorrow evening.
Is this with Georg's patch, or without it?

rh

For the statistics:

With 2 graphics, there are 60 calls to FileName::==(),
With 20 graphics, there are 570 calls to FileName::==(),
With 60, graphics, there are 1760 calls to FileName::==(), which is at least 10560 file accesses...

When deleting the 60 graphics, the count stops at 2160 times FileName::==().. i.e. lunch break.

Georg's patch solves this, as the ==() operator isn't so expensive most of the times.., but again, it makes no sense to compare that many filenames to each other...

Please tell me why this is absolutely needed ;-)..

Vincent

Reply via email to