Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

NumberXaero

( ) when doing math operations

This topic is 5657 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I think it was here I read a post about this once, but the search doesnt work, do brackets slow calculations? They clarify things, but is there a speed cost for too many brackets? Anyone know.

Share this post


Link to post
Share on other sites
Advertisement
I don''t know for sure, But I don''t think so.
If there is a speed hit then it wouldn''t even be a system ticks difference.

The only reason for a speed hit would be if your messing up the default order of precedence.

There is one way to be sure.

test it. ;}

Armand

Share this post


Link to post
Share on other sites
quote:
Original post by Armand
The only reason for a speed hit would be if your messing up the default order of precedence.


You can do that?

Share this post


Link to post
Share on other sites
quote:
I don''t know for sure,

Why are you answering the question?
quote:
But I don''t think so.

Is that just an opinion? If anyone asks about this again I can say ''Armand doesn''t think so''
quote:
There is one way to be sure.

Yes, learn c++.

Share this post


Link to post
Share on other sites
Ah, the memories of good old BEDMAS.

_____________________________

- Rob Loach
Current Project(s): Upgrade to .NET and learn DX 9

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!