Pierre Krieger
Pierre Krieger
The following code: ``` rust let _g = hprof::enter("Reading"); { let _g = hprof::enter("Mapping"); let mapping = buffer.map(); drop(_g); let _g = hprof::enter("Reading"); for val in mapping.values.iter() { process(val); }...
You can for example right now start a collator with a chain specification that contains `"relay_chain": "kusama"`. Polkadot has four hardcoded relay chains: `"polkadot"`, `"kusama"`, `"rococo"`, and `"westend"`, and when...
The `/memory` multiaddr can contain an arbitrary payload. But if this payload contains a `/`, then you can't properly serialize it without introducing an ambiguity. I would propose to revert...
Hi 👋 I have noticed that the `ProblemVariables` struct has a `display` function that is very convenient in order to print for example the list of constraints. However, once you...
This PR proposes a relatively simple but maybe controversial change. In the functions that return a `Vec`, instead of using `Vec::with_capacity` and similar, we use `Vec::new()` followed with `Vec::try_reserve`. If...
The `cc` crate in the Rust ecosystem passes either `/MT` or `/MD` based on the features of the target: https://github.com/rust-lang/cc-rs/blob/eddc1fd3f944c2e00e9f067a6373b28868b54bcd/src/lib.rs#L1884-L1890 By default, this leads to `/MT` being passed, at least...
Hi, Hardware: Apple M2 MoltenVK version: happens on both v1.2.8 and v1.2.9 (I haven't tried any newer version, as I'm simply installing the Vulkan SDK). My toy engine is working...
The README of `rpmalloc` [mentions](https://github.com/mjansson/rpmalloc/blob/develop/README.md#required-functions): > Before calling any other function in the API, you MUST call the initialization function, either rpmalloc_initialize or rpmalloc_initialize_config, or you will get undefined behaviour...
Here's my situation: I have a draw call that uses tessellation shaders. Everything is working. If I write the `VkDrawIndirectCommand` corresponding to my call to a buffer, and replace `vkCmdDrawIndexed`...