Forwarded from class | 想吃烧腊煲仔饭
22 Fall 出国申请 MSCS 的流水账 - 迟策的文章 - 知乎
https://zhuanlan.zhihu.com/p/494757036
https://zhuanlan.zhihu.com/p/494757036
原来
比如
上网查了一圈发现:
github.com/tokio-rs/tokio/issues/2401
原来还有
似乎完美解决了汇聚一系列子任务的需求🤣
不过还得仔细研究在上面直接
https://twitter.com/ClSlaid/status/1513538989651021824
tokio 的 channel 并不是 std::sync::mpsc::channel 的完全异步版本...比如
tokio channel 的 Receiver<T> 就没有实现 IntoIter 方法...上网查了一圈发现:
github.com/tokio-rs/tokio/issues/2401
原来还有
futures::stream::FuturesUnorderd 这种东西似乎完美解决了汇聚一系列子任务的需求🤣
不过还得仔细研究在上面直接
futures::future::join_all 会不会有啥问题https://twitter.com/ClSlaid/status/1513538989651021824
GitHub
futures::future::join_all on JoinHandle is too slow · Issue #2401 · tokio-rs/tokio
Tokio version: 0.2.16 Hi everyone, I'm trying to hunt down some performance issues in my app. I have built a completely un-scientific benchmark to demonstrate my issue here: use futures; use to...
Cl 杂记
原来 tokio 的 channel 并不是 std::sync::mpsc::channel 的完全异步版本... 比如 tokio channel 的 Receiver<T> 就没有实现 IntoIter 方法... 上网查了一圈发现: github.com/tokio-rs/tokio/issues/2401 原来还有 futures::stream::FuturesUnorderd 这种东西 似乎完美解决了汇聚一系列子任务的需求🤣 不过还得仔细研究在上面直接 futures::future::join_all…
法师:“有没有一种可能,异步的 Iter 叫 Stream”
我:“🤡诶?”
我:“🤡诶?”
Forwarded from 简中赛博坟场
有关美国人权问题的讨论截图被删除。 #微博存档
原文可见🔗 https://web.archive.org/web/20220414005653/https://m.weibo.cn/status/4758043650688198
原文可见🔗 https://web.archive.org/web/20220414005653/https://m.weibo.cn/status/4758043650688198