constant macro arrays
bendn try from fn
854356d · 2024-05-13 5Commits
-rw-r--r--
10
-rw-r--r--
357
-rw-r--r--
1062
-rw-r--r--
282
d---------
README.md

car

macro based array manipulation constant techniques

you wanted a quick LUT in const? here you go!

// please note that this is in no way performant or a good idea.
let squares: [usize; 0xffffffff] = car::from_fn!(|i| i * 2);

completely stable!

for once!