Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
simple 2D vector graphics
#15
(10-28-2022, 09:26 PM)bplus Wrote: "Would using constants instead of functions improve performance in QB64 or QB64PE?"

My guess is yes definitely because functions take more time to call and process, though the sleep you would lose is negligible.

I had to ask because another thing I vaguely sort of recall was a thread about how the way constants were implemented, they performed worse than functions. Man, this was back on the old .org site and my brain is probably confused. 

It's true I won't lose sleep - I'll lose less leaving it alone knowing it'll work and not having to worry whether there is any funny stuff going on with constants maybe having issues with unsigned long types. 

We'll revisit this later on!
Reply


Messages In This Thread
simple 2D vector graphics - by madscijr - 10-27-2022, 07:45 PM
RE: simple 2D vector graphics - by bplus - 10-27-2022, 08:02 PM
RE: simple 2D vector graphics - by madscijr - 10-27-2022, 11:11 PM
RE: simple 2D vector graphics - by Pete - 10-27-2022, 10:03 PM
RE: simple 2D vector graphics - by madscijr - 10-27-2022, 11:14 PM
RE: simple 2D vector graphics - by mnrvovrfc - 10-27-2022, 11:33 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 01:59 AM
RE: simple 2D vector graphics - by Pete - 10-27-2022, 11:38 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 02:02 AM
RE: simple 2D vector graphics - by vince - 10-28-2022, 02:15 AM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 03:48 AM
RE: simple 2D vector graphics - by bplus - 10-28-2022, 05:32 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 06:58 PM
RE: simple 2D vector graphics - by bplus - 10-28-2022, 09:26 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 09:50 PM
RE: simple 2D vector graphics - by mnrvovrfc - 11-04-2022, 11:59 PM
RE: simple 2D vector graphics - by madscijr - 11-05-2022, 02:09 AM
RE: simple 2D vector graphics - by TempodiBasic - 11-08-2022, 10:17 AM
RE: simple 2D vector graphics - by madscijr - 11-08-2022, 12:25 PM



Users browsing this thread: 11 Guest(s)