Imagine icon indicating copy to clipboard operation
Imagine copied to clipboard

Easy to implement Performance Improvement idea

Open fenilgmehta opened this issue 3 years ago • 2 comments

Instead of copying the original file to the temporary directory, how about using symbolic link - https://github.com/jprichardson/node-fs-extra/blob/master/docs/ensureSymlink.md I think we can at least use this on linux. If other operating systems support it, then we can use symbolic links on them as well.

This would serve two advantages:

  1. Time to copy files to the temporary directory will become close to zero
  2. The extra space consumed by the copied files will also become close to zero as they are just links

fenilgmehta avatar Sep 14 '22 08:09 fenilgmehta

Hi @meowtec, any plans for this?

fenilgmehta avatar Sep 10 '23 16:09 fenilgmehta

@fenilgmehta I will consider this in the next major version (build with tauri). But now I have no time for this.

meowtec avatar Sep 12 '23 04:09 meowtec