2 ms·
And as a result of this, if you want to optimize your program to be fast on Windows, you will make very different optimization decisions than on other platforms
by miki123211 2y ago
And as a result of this, if you want to optimize your program to be fast on Windows, you will make very different optimization decisions than on other platforms.
For example, Windows runs virus scans on close(), which makes it very slow. This means that sometimes it makes sense to have one or more background threads exclusively dedicated to closing files.
There's a good talk on this at https://www.youtube.com/watch?v=qbKGw8MQ0i8 https://www.youtube.com/watch?v=qbKGw8MQ0i8
- leeoniya 2y agomight have been a problem in Bun that was fixed by: https://github.com/oven-sh/bun/pull/16747 https://github.com/oven-sh/bun/pull/16747