Store arrays in MIDI lists



  • Is this something that would be possible to add? My use case here is a non-repeating round robin where I want to store an array of which groups have been played for each note. My current method is to flip it around so I have a MIDI list for each group but I think it would be better to have an array for each index of a single MIDI list.



  • I think this would be a case where it's better to just use a multidimensional array - the MidiList is a pretty small container which gets it's performance / usability advantages by limiting on numbers (its even not storing floating point, but simple 16bit integers). Making its slots dynamically resizable would defeat any performance advantage - you just end up with another multipurpose container type like the array 🙂


 

3
Online

353
Users

1.1k
Topics

7.6k
Posts