-
I recently had the need for comparing sorted iterators to figure out which elements were only in the left, right or both iterators. This is basically the same operation as [comm(1)](https://www.man7.o…
-
We have the following function for Tensors:
```
inline void
Tensor::unroll(const Iterator begin,
const Iterator end) const
```
I am confused why one needs to p…
tjhei updated
1 month ago
-
### 🔎 Search Terms
generic generator static
### 🕗 Version & Regression Information
- I was unable to test this on prior versions because there is still no online version of every-ts bisect
…
-
### Proposal Details
`*ast.CommentGroup` has a helpful `Text` method to extract the text of comments that are *not* directives, but there is no simple means to get the directives of the comment other…
-
### Review Mojo's priorities
- [X] I have read the [roadmap and priorities](https://docs.modular.com/mojo/roadmap.html#overall-priorities) and I believe this request falls within the priorities.
…
-
`.try_collect()` is for turning `Iterator` into `Result`. Can you create an equivalent method that turns `Iterator` into `Option`? Or perhaps implement it as a generic, as part of `try_collect()`?
…
-
We currently have iterator stats reported in trace bundles that look as follows:
```
event:scan stats: stepped 0 times (0 internal); seeked 1 times (1 internal); block-bytes: (total 895 KiB, cache…
-
Rust中的迭代器功能非常強大,但是掌握並熟悉使用迭代器是一個漫長的過程,尤其是對熟悉了C++再學習的人,會經常以C++的方式寫一些循環代碼。這裏我藉著Exercism上的一道題,來熟悉迭代器的使用,後續如果有新的迭代器不熟悉的,也在這個issue上補充。迭代器的[官方文檔](https://doc.rust-lang.org/std/iter/trait.Iterator.html)也是非常有用…
-
Feature gate: `#![feature(iterator_try_reduce)]`
This is a tracking issue for adding a `try_reduce` method to the `Iterator`trait. There is `fold`and `try_fold` but only `reduce`. It's possible for…
-
**Describe the feature:**
It doesn't seem to be possible to "search with iterator" as documented in:
https://milvus.io/docs/v2.3.x/with_iterators.md#Search-with-iterator
**Describe a specific…