Rakshith Ravi
Rakshith Ravi
The `avx2_cpuid::get()` call only seems to be doing a simple check with an `AtomicU8`. It's a one-time init and every subsequent call to `get` would only fetch the same initialized...
Hmm, yes. That is a fair point. `const` functions would significantly limit how much we can do within the function, until rust adds support for it, and I'm not sure...
Is this something that can help us? https://github.com/rust-lang/rust/pull/116114
Sorry if I don't understand this correctly, but can't we use `target_feature = "avx2"` to call different functions based on the target feature?
@cemoktra you can always directly reference the git repo in your dependency
Hey - just wanted to check in: Is this still relevant? Do we only need `Sync` if services should work with work-stealing executors? Otherwise, it's not needed, right?
Considering that once things are setup, we only use the router for reading (routing), what's wrong with using Arc internally? Sure, it incurs a cost of setting things up, but...
Been mulling over this for a few days, and had an idea. How about we wrap everything in an `Arc`, and when a particular service needs to be called, we...