August 26, 2008Re: Why Strings as Classes?
Posted in reply to Benji Smith
Reply to Benji, > But check this out... you can have your fast class, and I can have my > slow class, and they can both implement the same interface. Like this: > No, you can't. The overhead needed to implement that is EXACTLY what we are unwilling to use. I want an indexed array load x = arr[i]; to be: -- load arr.ptr into a reg -- add i to that reg -- indirect load that into i 3 ASM ops. If you can get that and what you want, go get a PhD. You will have earned it.