06-07-2021, 05:11 AM
First, many thanks to HP calculator team for the great upgrade!
I've been working on the brand new native Python for a couple of days, tested same Mandelbrot code(almost) on both HP Prime G2 and TI Nspire CX II CAS, G2 is insanely faster(nearly 5 hundreds times)!
When I was trying to implement a Game Of Life, I defined an array of more than 320x240x2 elements, I got an error complaining it was over the size of stack.
I searched this forum and got a solution for CAS Python, like:
#python("name",stackSize,heapSize)
I tried in native Python, but unfortunately not working.
Could somebody figure me out how to resize the stack?
Thanks in advance!
I've been working on the brand new native Python for a couple of days, tested same Mandelbrot code(almost) on both HP Prime G2 and TI Nspire CX II CAS, G2 is insanely faster(nearly 5 hundreds times)!
When I was trying to implement a Game Of Life, I defined an array of more than 320x240x2 elements, I got an error complaining it was over the size of stack.
I searched this forum and got a solution for CAS Python, like:
#python("name",stackSize,heapSize)
I tried in native Python, but unfortunately not working.
Could somebody figure me out how to resize the stack?
Thanks in advance!