Re: Well I did it! (variable_id, etc..)
- Posted by Greg Haberek <ghaberek at gmail.com> Nov 25, 2004
- 721 views
> That's nice, but we can't have them as an exe that runs at Eu's speed, and > we can't have the source unless we bought what? How much slower is your > interpreter now? I'll put out the source once I get all the features in that I'd like. As far as speed, well, it definitly needs to be run with the C backend. sorting test - 10,000 random integers 0 - 999 exw.exe - 0.020 seconds euw.exe - 11.376 seconds That's 568% slower! It's my hope that since I've implemented these features, RDS may be more likely to use them, since I put in all the grunt work of thinking and all. Heck, the whole equals thing for sequences was a matter of changing one line. One line!!! Check this out: execute.e: line 1139 in procedure opEQUALS_IFW() if val[a] = val[b] then change to: if equal( val[a], val[b] ) then That's it!!! I had to rack my brain figuring out the inner workings of the interpreter to put in the rest, but now its easy as pie. Rob's coding style isn't that bad once you get the hang of it. ~Greg