I’ve been adding more specific type signatures to some functions, and decided to declare some input arrays as readonly (since they were only being read after all) which seemed to work. I hoped declaring the readonly aspect would potentially help the compiler with performance of the code. On a Linux based system this all worked fine, but on my M2 mac the caused a significant performance degradation (fixed by converting back to non-read-only arrays). Is there benefit for the compiler to declaring arrays readonly when they are only being read from? Is the performance degradation on the M2 a potential bug, or expected behaviour? Any thoughts would be appreciated.