The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Is it possible to increase the stack/heap size for native Python(not in CAS)?
06-07-2021, 05:11 AM
Post: #1
Is it possible to increase the stack/heap size for native Python(not in CAS)?
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!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Is it possible to increase the stack/heap size for native Python(not in CAS)? - kumat - 06-07-2021 05:11 AM



User(s) browsing this thread: 1 Guest(s)