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

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22 23242526 2728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 3rd, 2025 04:23 am
Powered by Dreamwidth Studios