I have a model which requires storing variables in an array and updating it with deeply-nested loops where Python performance isn’t great. I wanted to rewrite this in Cython (which docs say should be possible), but I haven’t been able to find a tutorial or example code for doing this. Does anyone have any pointers on where I can find one?