These are chat archives for rust-lang/rust

2nd
Jan 2018
Aleksey Kladov
@matklad
Jan 02 2018 07:08
:clap: :clap: @red75prime
Restioson
@Restioson
Jan 02 2018 11:14
Didn't get any answers, so I'm gonna ask again
I want to comment on the private trait items rfc, but do i comment on the tracking issue (rust-lang/rfcs#275) or the RFC PR (https://github.com/rust-lang/rfcs/pull/52)? RFC PR is closed and marked as postponed. There has been a comment about the RFC on the issue so I'm not really sure where to comment. I want to add a usecase, btw.
Restioson
@Restioson
Jan 02 2018 14:41
anyone
Denis Lisov
@tanriol
Jan 02 2018 14:58
I'd personally comment on the tracking issue.
Restioson
@Restioson
Jan 02 2018 14:58
ok, will do, thanks
Jonas Hedman Engström
@JonasHedEng
Jan 02 2018 15:49
If I want to get a parallel iterator (Rayon) from std::fs::ReadDir is the only way to collect and par_iter? Will it be compiled away?
Michal 'vorner' Vaner
@vorner
Jan 02 2018 15:56
No, it won't be compiled away. The par iterator wants to know the length of the whole thing, so it can split it into batches. But AFAIK there's a way to take an iterator and batch it manually into chunks (I don't remember the exact name, but look for batch or chunk or something like that in rayons documentation).
Jonas Hedman Engström
@JonasHedEng
Jan 02 2018 15:57
@vorner: Alright, thanks!