Search:

Type: Posts; User: Voodoo Doll

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    2,763

    There's something to be said about doing it...

    There's something to be said about doing it manually by using inline assembly to fiddle with your stack. That's not portable, but the problem sounds either misinterpreted or nonportable to begin...
  2. Replies
    11
    Views
    2,763

    The only way aside from doing it manually would...

    The only way aside from doing it manually would be something like the nonstandard alloca function. It dynamically allocates memory but stores it in the current stack frame instead of on the heap....
  3. Replies
    15
    Views
    2,640

    You can use a stronger goto in the form of setjmp...

    You can use a stronger goto in the form of setjmp and longjmp, but that's ugly and awkward. A better option is to throw an exception. Both of those will safely unwind the function call stack and take...
  4. Replies
    29
    Views
    8,084

    Nope, it's almost always about the same speed...

    Nope, it's almost always about the same speed since any high level loop construction becomes the equivalent of a goto loop when translated to machine code. Sometimes a goto is faster if you know what...
Results 1 to 4 of 4