Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REDIM takes more resources than DIM?
#16
(07-17-2024, 02:10 PM)vince Wrote: in some other languages, static arrays are allocated in stack space while dynamic in heap space, so there might be some performance hit in exchange for more available space

no idea what QB64PE resolves it to, though

I swear I can recall the need to make all my arrays in QuickBASIC to get my programs to run. STATIC arrays used up too much memory, probably from the stack space. You could use the CLEAR command with parameters to set stack space and memory allocation ratios, to some degree. I always needed more stack space. Life was so much harder then, 20 years ago...

Pete
Reply


Messages In This Thread
REDIM takes more resources than DIM? - by bplus - 07-17-2024, 12:21 AM
RE: REDIM takes more resources than DIM? - by Pete - 07-17-2024, 03:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Preserving multi-dim arrays Pete 5 416 12-19-2025, 03:17 PM
Last Post: Dimster
  packaging resources tool TempodiBasic 6 582 09-22-2025, 11:16 PM
Last Post: TempodiBasic
  DIM AT -- feature request Jack 2 713 08-15-2023, 12:15 AM
Last Post: grymmjack
  REDIM, TYPE, and STRING Woes TerryRitchie 16 3,157 04-13-2023, 05:17 AM
Last Post: DSMan195276
  suggestion: initialize array values within the DIM statement bobalooie 19 3,358 12-22-2022, 06:46 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)