qsniyg / ksp_stuff

GNU General Public License v3.0
9 stars 4 forks source link

Performance and logging improvements #4

Closed qsniyg closed 5 years ago

qsniyg commented 5 years ago

Instead of directly adding each layer (resulting in some files being needlessly overwritten multiple times throughout the process), it will now create an index first, which significantly improves performance.

This PR also rewrites the console logging system. Instead of writing every file currently being linked, it writes the current file every 100ms or so with a simple progress meter (similar to ninja). This improves performance, as well as making the output look cleaner.