Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Format$
#3
(03-31-2024, 05:10 PM)grymmjack Wrote: You should _FREEIMAGE tempimage somewhere too. I know it's static in the function, but you should maybe document that?

Also what screen mode is this using/depending on?

In this case, I just figured it isn't worth the effort or overhead.  Our screen here is all of 160 bytes total in size.  Why create that, initialize it, free it, when we can just preserve and reuseit?

(It's a SCREEN 0 screen, 80 character, 1 row.  -NEWIMAGE(80, 1, 0) )

With memory usage this small, why waste cycles freeing it?  It preserve and reuse it.  Wink
Reply


Messages In This Thread
Format$ - by SMcNeill - 03-30-2024, 04:52 AM
RE: Format$ - by grymmjack - 03-31-2024, 05:10 PM
RE: Format$ - by SMcNeill - 03-31-2024, 05:26 PM
RE: Format$ - by bplus - 03-31-2024, 05:26 PM
RE: Format$ - by SMcNeill - 03-31-2024, 05:30 PM



Users browsing this thread: 2 Guest(s)