Antti Korpi

Results 38 issues of Antti Korpi

I'm trying to benchmark a concurrent data structure, and I want to benchmark its read/write behaviour under thread contention. However, unlike all of the [threaded examples in documentation](https://github.com/nvzqz/divan/blob/8768032314ec96dd67c007ba1f4d64ca3287be51/examples/benches/threads.rs), this structure's...

enhancement

Would keep stuff neat; `doc/`, `lua/` and `man/` have their places already. … and I have to scroll 2 screenfuls down to get to the readme on Github.

I've figured that I can subscribe to `vis.events.WIN_STATUS` to get my statusline to contain exactly what I want it to, but I wish I could additionally change the *background colour*...

Many archaic programming languages have redundant operators. For example ``, and `+` and `-` are clearly just opposites of each other. This suggests the possibility of generalising the concept, into...

Rust 1.73.0 introduced [these methods to simplify single-thread synchronization](https://doc.rust-lang.org/std/thread/struct.LocalKey.html#single-thread-synchronization). They are not present in [Loom's mock `LocalKey`](https://docs.rs/loom/latest/loom/thread/struct.LocalKey.html).

[`std::thread_local`](https://doc.rust-lang.org/std/macro.thread_local.html) accepts this: ```rust use std::cell::Cell; thread_local! { pub static FOO: Cell = const { Cell::new(0) }; } ``` `loom::thread_local` does not: ``` error: no rules expected the token `const`...

#### Your system information * Steam client version:1.0.0.53-1 * Distribution (e.g. Ubuntu): Arch * Opted into Steam client beta?: No * Have you checked for system updates?: Yes #### Please...

reviewed
Need Retest

I have a hunch that I win more games when supporting, than as a core. But how would I find out? It would be neat if as part of parsing...