🧸 Mofurun 🧸
🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸
Experimental implementation of Vec
that stores the state of the underlying array using types.
This allows us to optimize some operations based on its state.
🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸🧸
Example
For the simplest case, consider finding the maximum value in a vector.
use ;
I think there are many, many more containers like this and I am generally interested in the idea of using structs to force the logic of a program.