4 ms·
ed might do truncate/write, and vim might do create/write/rename. New file, cache miss.
by kjetijor 6y ago
ed might do truncate/write, and vim might do create/write/rename. New file, cache miss.
- alexlarsson 6y agoYeah, this is obviously a replace vs in-place modify difference. Could replace the script with a simple copy-to-temp+rename-back.
- cryptonector 6y agoOr not use ed(1).
- alexlarsson 6y agoPersonally I use magnets to flip bits around, ed(1) seems a bit to bloated for me.
- diegoperini 6y agoWho needs magnets when you have cosmic rays?
- raverbashing 6y agoYeah I feel the right way to solve this bug (in the compiler) would be to stat the file. Or maybe docker mounts it with -noatime (or something similar?)