Weak performance
i'm using the Locate plugin and ReplaceInFile to write file names into a file. unfortunately, this performs incredibly slow.
for reference:
275 files (max. file size 43kb) in 12 folders took more than 2 minutes on a core2quad 2.66mhz and a intel postville g2 ssd
here the essential commands:
${locate::Open} "$MyDirectory" "/D=0 /G=1 /M=*.$MyFileType /SD=NAME /SF=NAME" $0
..
StrCpy $R0 0
StrCpy $R1 1
loop:
${locate::Find} $0 $1 $2 $3 $4 $5 $6
IfFileExists "$1" 0 close
${ReplaceInFile} "$MyScript.nsi" "##MYFILE-$R0##" "File $\"$3$\"$\n ##MYFILE-$R1##"
IntOp $R0 $R0 + 1
IntOp $R1 $R1 + 1
Goto loop
close:
any ideas why this takes so long?