Maybe you can try out a BoundedArray
?
It sounds like what you’re describing. You give it some max size at comptime, then initialize it with some (potentially smaller) size at runtime.
Maybe you can try out a BoundedArray
?
It sounds like what you’re describing. You give it some max size at comptime, then initialize it with some (potentially smaller) size at runtime.