Hi,
'I was looking for a way to shorten the compile time of the IDE', and in the end, I was able to improve the performance of the computer by doing maintenance on the processor heatsink, which was not fully aligned, so the processor slowed down when it warmed up.
But I was thinking, while watching the compilation steps, that IDE accesses the temporary folder several times. And auxiliary folders, which if left in portable mode, seem to help.
I do not know the actual size that the temporary folder can occupy, but imagine if these steps can be performed in a RAMDRIVE.
On old computers, with Pentium III, I used RAMDRIVE for gaming, and the performance was pretty good.
I know we have SSDs today, but they still do not compare to RAMDRIVE.
Is it possible to add a setting in the preferences, to indicate a folder (RAMDRIVE) so that the IDE can use this location for compilation? What size would it take?

Source:
https://www.raymond.cc/blog/12-ram-disk-software-benchmarked-for-fastest-read-and-write-speed/(
https://www.arduino.cc/en/Guide/PortableIDE)