BMax feature request - ability to inline a macro

BlitzMax Forums/BlitzMax Programming/BMax feature request - ability to inline a macro

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

yeah I want an explicit Macro call just to be sure (I'm not worried about inline assembly as I "gave that up" on my Amiga when I got Blitz Basic 2!). Also I made an erroneous statement, the function may be called 1000 times *per* logic loop and my logic runs at 200FPS! So that's 200,000 times per second. Well worth optimising.

Robert: thanks for the offer of help but I'm fine with the high level optimisations (object pooling, use arrays etc).

gman: Gman good test, I get 3-4 times faster with no functions. Thanks.

Really it's a shame we still have to think like this as developers becasue in the old days it was all about code optimisation, but these days it's more about readability/expandability/maintainability and so on, and thus I'd rather use a function...but not if it's gonna slow down my particle functions hugely.