Bun v1.0.20

2023-12-24来源 Bun BlogEnglish
Reduced memory usage for fs.readlink, fs.writeFile, fs.stat and HTMLRewriter. Fixes a regression where setTimeout caused high CPU usage on Linux. Bun.spawn shows how much CPU & memory the process used. HTMLRewriter.transform now supports strings and ArrayBuffer. fs.writeFile() and fs.readFile() now support hex & base64 encodings

原文:https://www.a8q9.cn/en/article/bun-v1-0-20-676da8.html

相关文章