2.5x- 3x faster copyFile on osx (#16883)

This commit is contained in:
Timothee Cour 2021-02-01 17:38:17 -08:00 • committed by GitHub
commit 917f12ae52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 9 deletions

View file

@ -121,6 +121,10 @@ with other backends. see #9125. Use `-d:nimLegacyJsRound` for previous behavior.
- `typetraits.distinctBase` now is identity instead of error for non distinct types.
- `os.copyFile` is now 2.5x faster on OSX, by using `copyfile` from `copyfile.h`;
use `-d:nimLegacyCopyFile` for OSX < 10.5.
## Compiler changes
- Added `--declaredlocs` to show symbol declaration location in messages.