Of using an external editor, maybe I am not sure how it works; I see only one file open a time, and not necessarily the one selected. Perhaps a command to send the enclosing folder of the whole EPUB to an editor? If such could also be automated, perhaps AppleScript is too much to ask, but from the command-line, that could make it one step from calibre or some other source.
Some benchmarks. Done with AppleScript tell application "Sigil" open …, using the built-in timer of Script Debugger. Unsure how optimized SHA is for Intel vs Apple Silicon.
470 MiB - 6700 images, 20 XHTML
w: 10.55, 11.49, 10.55, 10.51, 10.41
w/o: 6.49, 6.50, 6.50, 6.51, 6.45
175 MiB - 5500 images, 250 XHTML
w: 10.95, 17.67, 19.14, 10.68, 10.60
w/o:
8.80, 8.88, 9.04, 9.05, 9.99
330 MiB - 2700 images, 40 XHTML
w: 7.97, 6.20, 6.15, 8.14, 6.62, 6.12
w/o: 3.33, 3.68, 3.38, 3.36, 3.34, 3.34
40 MiB - 380 images, 30 XHTML
w: 2.46, 1.59, 1.65, 1.44, 1.39
w/o: 1.05, 1.05, 1.06, 1.03, 1.05
|