warlock-labs / dimensionals

Rust native N dimensional arrays
MIT License
8 stars 2 forks source link

Fix memoization #7

Open xxxxxxxxxmr opened 3 days ago

xxxxxxxxxmr commented 3 days ago

pretty straightforward, we compute the 'len' constant once at initialization and keep that value.

excuse the clumsiness with git branching, idk how you want this organized, will be working on some other TODOs as well