Search:

Type: Posts; User: MK27

Search: Search took 0.05 seconds.

  1. Replies
    13
    Views
    10,675

    Maybe I should take this back: It's...

    Maybe I should take this back:



    It's actually not that bad a reason if it simplifies the code in a case like this, but it is not a path to optimizing performance either.
  2. Replies
    13
    Views
    10,675

    So why not just make it iterative to start with?...

    So why not just make it iterative to start with?



    Yeah, that is part of the overhead of a function call, and the address is copied. However, copying a pointer is extremely trivial, I think...
  3. Replies
    13
    Views
    10,675

    You have it backward. Iterating a function call...

    You have it backward. Iterating a function call will not increase your "overhead". But recursion surely will.



    Using globals might provide an advantage, but goto won't.
Results 1 to 3 of 3