Feb. 12th, 2008

izard: (Default)
http://www.gtoal.com/sbt/ approach is nice but not generic, and adds another switch on the hot path (though I've tried this and it works). To be generic I really need profiling feedback and JIT or binary translation.
Cibyl approach is even better but I'll stick with mine code yet.
So the only generic way I can think of yet is the following:
I'm using int array for 128k of system memory, not byte array. So if there is no self modifying code in the hot paths (that I can determine using dynamic profiling), I can replace some common patterns with additional opcodes (and i can introduce plenty of them by just adding opcodes to switch table that makes no effect on common case performance)

Profile

izard: (Default)
izard

July 2025

S M T W T F S
  12345
67 8 91011 12
13141516171819
20212223242526
27 28293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 12th, 2025 05:22 am
Powered by Dreamwidth Studios