zig/src-self-hosted
Andrew Kelley 64dfd1883e zig fmt: avoid unnecessary file system access
zig fmt previously would write a temp file, and then either rename it
into place if necessary, or unlink it if nothing was changed. Now zig
fmt renders into a memory buffer, and only writes the temp file and
renames it into place if anything changed.

Based on the performance testing I did this actually did not have much
of an impact, however it's likely that on other operating systems and
other hard drives this could make a big difference.
2020-06-20 20:14:33 -04:00
..
2020-05-29 13:33:09 -04:00
2020-05-15 21:44:33 -04:00
2020-05-28 22:43:16 -04:00
2019-12-29 11:04:58 +02:00
2020-06-15 21:47:42 -04:00
2020-02-16 13:25:30 -05:00