Anders Musikka
Anders Musikka
I think such a macro would be nice, even if the only advantage was that it made arrayvec work more like Vec and SmallVec. This would make it easier to...
Yes, something like: ``` #[savefile(versions="1..")] ``` instead of today's: ``` #[savefile_versions="1.."] ```
Here is a PR: https://github.com/glium/glium/pull/1950 With this PR the code works, but the implement_buffer_content-macro is still UB. Just not as much UB :-) .
@katyo Seems there are merge conflicts. Would you be interested in fixing these?
I license past and future contributions under the triple MIT OR Apache-2.0 OR Zlib license, allowing licensees to choose any one at their option.
(I'm sorry for being so late to answer. I think I was notified when I was pinged when this PR was opened, but I didn't read enough to realize I...
> Does the `num_cpus::get_physical()` serve your needs? Ah, does it not take affinity into account? Still, it doesn't really help because I am interested in the number of CPU threads,...
@kubo39 Cool! I suppose that is x86-only? And in a totally different crate? And what would the result be in a multi-CPU machine? Would I get just the number of...
@kubo39 Thanks a lot! That crate does indeed seem to do exactly what I want.
You can use a UniformBuffer instead. I'm not sure you can use datatype u8, but you could use a u32, and then, if needed, unpack the u32's into u8s in...