Skip to content
TILens What matters today in tech v0.3.1
Theme

Topic - Edition

Rust

5 items on 22 Aug 2026
Rust

Questions about `#[derive_const(...)]` and const trait impl

I've noticed recently that there is a bunch of const trait related experimental features in Rust to allow calling trait methods in const context, like const_trait_impl, const_convert, const_ops, const_cmp, const_clone,…

Source: Rust Users Forum vanleefxp
Rust

CPU time (and not elapsed)

Hello, Maybe a silly question... I'm trying to bench my app. I noticed that Criteron or Divan measure Elapsed time. First question : This surprises me, as it seems the representative metric to measure an algorithm…

Source: Rust Users Forum flo
Rust

Wrapping a `HashSet` and implementing `Iterator`

Hey folks, I have the following struct: use std::collections::HashSet; use tantivy::tokenizer::{SimpleTokenizer, TokenStream, Tokenizer}; pub struct Vocabulary { #[allow(dead_code)] tokens: HashSet<String>, } impl…

Source: Rust Users Forum jhanarato