445141126 最近的时间轴更新
445141126

445141126

V2EX 第 40095 号会员,加入于 2013-06-03 20:17:58 +08:00
445141126 最近回复了
@yinmin 是用中文吗, llama 中文非常拉跨
@yazoox 应该是有效果的
> I was having the same issue and switched to the MiMalloc allocator. It releases memory instantly - from 2GB when underload back to 50MB when idle, constrast to the default allocator which peaks at 3GB and 1.7GB when idle. MiMalloc does not only consume less memory but also performs better in my case, bench tested both on my Linux machine and Docker container with resource limited to 1CPU 1GB. I think I'm going to stick with MiMalloc for now.
2023-07-10 18:03:25 +08:00
回复了 yagamil 创建的主题 程序员 git 操作:如何在中途不再跟踪某个暂存区的文件的变更?
`git update-index --assume-unchanged ...`
2021-09-02 19:35:50 +08:00
回复了 Livid 创建的主题 NES 关于红白机上最难的那些横轴过关游戏
没有魔界村吗
2021-08-28 20:26:27 +08:00
回复了 rain423 创建的主题 上海 创建一个 base 在上海的 v 友群
d2Jpbjkx
2019-12-31 13:46:17 +08:00
回复了 unn 创建的主题 UNITY Unity 中国增强版发布
unity hub 不挂 proxy, 不能登录怎么解?
2019-10-16 18:21:19 +08:00
回复了 FASTTOM 创建的主题 宽带症候群 家里的宽带,下载慢 上传快大概是啥原因呢?
@FASTTOM 竟然能忍受一年
2019-04-04 09:49:57 +08:00
回复了 summersnow521 创建的主题 JavaScript JavaScript 语言为何需要那么多高级语法
@stabc

await 也可以不用 for

```
const delay = (ms) => new Promise(resolve => setTimeout(() => resolve(), ms))

const arr = [1, ,2, 3]

;(async () => {
await arr.reduce(async (promise, s) => {
await promise
await delay(1000 * s)
console.log('delay', s, Date.now())
}, Promise.resolve())
})()
```
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5644 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
Developed with CodeLauncher
♥ Do have faith in what you're doing.