Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: optimize me!
Posted by: PeP Mar,11.2010-16:05 

I've tried both approaches. The state machine in this case is pretty messy and complex, with many special cases. In the end this cause lots of branches all over the place, and iirc the compiler turned some of the switch-cases into jumptables anyway. The table-based solution means I'll only make a single subroutine branch..







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
optimize me! PeP Mar,11.2010-00:55
  Re: optimize me! PeP Mar,11.2010-01:28
  Re: optimize me! mikro Mar,11.2010-10:09
    Re: optimize me! sqward Mar,11.2010-11:58
      Re: optimize me! PeP Mar,11.2010-14:32
    Re: optimize me! PeP Mar,11.2010-14:31
    Re: optimize me! PeP Mar,11.2010-14:44
      Re: optimize me! sqward Mar,11.2010-15:50
        Re: optimize me! PeP Mar,11.2010-16:05
          Re: optimize me! Alien / ST-CNX Apr,15.2010-04:48


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson