Imagine
Imagine copied to clipboard
Easy to implement Performance Improvement idea
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:
- Time to copy files to the temporary directory will become close to zero
- The extra space consumed by the copied files will also become close to zero as they are just links
Hi @meowtec, any plans for this?
@fenilgmehta I will consider this in the next major version (build with tauri). But now I have no time for this.