1. Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 15, 2000
- 498 views
Allright. All yall that want to make Euphoria burn rubber and kick VC++'s ass when it comes to speed, try this. When you need to store some crap in one place, don't create a sequence . When you have something like this to do: sequence one_to_thousand one_to_thousand = {} for ix = 1 to 1000 do one_to_thousand &= ix end for Don't use a sequence. Do it like this: integer one_to_thousand one_to_thousand = allocate(1000*4) -- 4 = 4 bytes per number for ix = 1 to 1000 do poke4(one_to_thousand+ix,ix) end for You think this ain't gonna gain speed huh? Well the ratio between using the sequence, and using the pokes, is 1 to 7 (ie. 7 times faster). Try it out, use "arrays" in memory when comparing speeds with compiled C/C++, you will be surprised (C/C++ is only 3 times faster instead of 10 times). Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
2. Re: Poked to death
- Posted by Bernie Ryan <xotron at BUFFNET.NET> Apr 15, 2000
- 495 views
On Sat, 15 Apr 2000 19:46:51 GMT, Mike The Spike <mikethespike2000 at HOTMAIL.COM> wrote: >Don't use a sequence. >Do it like this: > But your code does not support all the features of sequences like storing floats, sub-sequences, slicing, sequence math operations.
3. Re: Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 15, 2000
- 513 views
- Last edited Apr 16, 2000
> >Don't use a sequence. > >Do it like this: > > > But your code does not support all the features of sequences > > like storing floats, sub-sequences, slicing, sequence math > operations. yeah but I said "if you have something like this:" and "When comparing speeds with C/C++", I didn't say "Use this instead of sequences always". C/C++ don't have sequences, or slicing, or sequence math operations. And, you can use Fixed Point to do float operations in memory. Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
4. Re: Poked to death
- Posted by Robert Craig <rds at ATTCANADA.NET> Apr 15, 2000
- 499 views
Mike the Spike writes: > Well the ratio between using the sequence, > and using the pokes, is 1 to 7 (ie. 7 times faster). > Try it out, use "arrays" in memory when comparing speeds > with compiled C/C++, you will be surprised (C/C++ is > only 3 times faster instead of 10 times). Here's another chapter for you Mike. Chapter 4 ...? include machine.e constant ITER = 10000 atom t -- Mike's "super fast" way: atom one_to_thousand -- (was "integer" - BUG) one_to_thousand = allocate(1000*4) -- 4 = 4 bytes per number t = time() for i = 1 to ITER do for ix = 1 to 1000 do -- BUG! ix should increment by 4, -- and should start at 0, not 1 poke4(one_to_thousand+ix,ix) end for end for ?time()-t -- 6x faster than Mike's poke method: sequence s t = time() for i = 1 to ITER do s = repeat(0, 1000) -- could move this out for even more speed for ix = 1 to 1000 do s[ix] = ix end for end for ?time()-t According to your ratios, this makes Euphoria now *twice as fast* as C/C++, and no (buggy) pokes are required. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
5. Re: Poked to death
- Posted by Bernie Ryan <xotron at BUFFNET.NET> Apr 15, 2000
- 476 views
On Sat, 15 Apr 2000 22:15:08 GMT, Mike The Spike <mikethespike2000 at HOTMAIL.COM> wrote: >yeah but I said "if you have something like this:" and "When comparing >speeds with C/C++", I didn't say "Use this instead of sequences always". >C/C++ don't have sequences, or slicing, or sequence math operations. And, >you can use Fixed Point to do float operations in memory. If C/C++ don't have sequences, or slicing, or sequence math operations, (Fix-point is not as accurate). then maybe that is exactly why Euphoria is being used by this list and not C\C++. So your super compiler had better figure out how to support these features.
6. Re: Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 15, 2000
- 476 views
- Last edited Apr 16, 2000
>Mike the Spike writes: > > Well the ratio between using the sequence, > > and using the pokes, is 1 to 7 (ie. 7 times faster). > > Try it out, use "arrays" in memory when comparing speeds > > with compiled C/C++, you will be surprised (C/C++ is > > only 3 times faster instead of 10 times). > >Here's another chapter for you Mike. Chapter 4 ...? > >include machine.e > >constant ITER = 10000 >atom t > >-- Mike's "super fast" way: > >atom one_to_thousand -- (was "integer" - BUG) >one_to_thousand = allocate(1000*4) -- 4 = 4 bytes per number > >t = time() >for i = 1 to ITER do > for ix = 1 to 1000 do > -- BUG! ix should increment by 4, > -- and should start at 0, not 1 > poke4(one_to_thousand+ix,ix) > end for >end for >?time()-t > >-- 6x faster than Mike's poke method: > >sequence s >t = time() >for i = 1 to ITER do > s = repeat(0, 1000) -- could move this out for even more speed > for ix = 1 to 1000 do > s[ix] = ix > end for >end for >?time()-t > >According to your ratios, this makes Euphoria now >*twice as fast* as C/C++, and no (buggy) pokes are required. I forgot about Integers being 31 bits in the interpretter, I'm used to 256 bits in U4IA++. And poke4() actually *moves* by 4 bytes in U4IA++. But hey, sequences are *not* faster then pokes pal! Try converting the Shellshort benchmark to pokes, and the speed will increase *exactly* 7 times then when using sequences. Try it if you dare... Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
7. Re: Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 15, 2000
- 471 views
- Last edited Apr 16, 2000
> If C/C++ don't have sequences, or slicing, or sequence math > >operations, > (Fix-point is not as accurate). Yeah... >then maybe that is exactly why Euphoria is being used by this list > and >not C\C++. So?.... >So your super compiler had better figure out how to >support >these features. You said "thats is exactly why Euphoria is being used by this list", and then you say "So your super compiler had better figure out how to support these features.". For the last time, YOU GET IT FOR F R E E!! Didn't I say that a zillion*PI times? it don't give a shit if "The people on this list wont use it because it don't have sequence,..." becase it's free. If it blows your computer through your nose when you start it up, I don't give a shit, cos you didn't pay for it. When you pay for it, and it sucks, then you are a customer that ain't satisfied with the product. That can mean bad things for my future. But I realy don't give a shit if y ou like it or not, and I don't have to put in features for you eighter, because I don't have to convince you that it's good, because that will only take time out off my shedule (I don't have a shedule BTW...). You threathen me with "oh it better be good or we wont use it! so it better support all of them features!", but you see, you don't have to threathen me with anything, cos I don't have to produce Jack Shit for you. It's all commerce man, I just need some people to test it out, and don't worry, I can download the Euphoria archive and compile all off them apps myself. I thought I was orienting myself towards developers, not babies like you! This is serious bussiness, you don't just say "Hey Mike! Yer thang sux ass, I wanna see more of them features in it you ass!", that's not up to you, that's up to the market. U4IA++ is a serious tool oriented towards the Artificial Inteligence and Game industries, it's still as easy to use as Euphoria, but follows the mainstream demands for lightning-fast code generation, customisability, internet connectivity, and compatibility with such standards as COM,OLE and database interfacing. Offcourse you can hack up a quick GFX demo, but this time you will have a Library of 2D and 3D Hardware Accelerated routines to assist you. Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
8. Re: Poked to death
- Posted by Robert Craig <rds at ATTCANADA.NET> Apr 15, 2000
- 479 views
Mike the Spike writes: > But hey, sequences are *not* faster then pokes pal! > Try converting the Shellshort benchmark to pokes, > and the speed will increase *exactly* 7 times > then when using sequences. > Try it if you dare... Post it if you dare... Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
9. Re: Poked to death
- Posted by Ad Rienks <kwibus at ZONNET.NL> Apr 16, 2000
- 456 views
Hello Mike, Just a small comparison: let's say this site is for people that like to ride bikes. Some of them are even very good at biking; they build and/or tune up their own bikes. Now you come and tell us: Hey, I got bikes for free and I want you to test-drive them. Well, of course, everybody wants such a super-bike, even if only 10% of the features you claim it has are actually there. But, on the other hand, we mostly like our old bikes also and we know they want let us down. So, the new bike should (in a way) perform like we are accustomed to from our old bikes. Since we like biking so much we are very willing and eager to see these new bikes and to actually test-drive them! But be prepared that we will compare the new bikes to the old ones. We are in a win-win situation: If the new bikes arrive and live up to the expectations, we are happy; but... if the new bikes don't come or are not as innovative as they are claimed to be, we still have our old bikes, to be happy with! So, I'm eagerly awaiting my new bike; the biking season is about to begin! I'm ready to test-drive it up to it's limits! I think this comparison is just the right one for a youngster from Belgium. And I'm glad Everett W is no longer here to write answers to this kind of posts! Greetings, Ad Rienks
10. Re: Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 16, 2000
- 456 views
>Mike the Spike writes: > > But hey, sequences are *not* faster then pokes pal! > > Try converting the Shellshort benchmark to pokes, > > and the speed will increase *exactly* 7 times > > then when using sequences. > > Try it if you dare... > >Post it if you dare... Yeah right pal, *you* invented the language, *you* write it! (and *your* documentation got me hooked to using '*' asterisk signs to express myself... : ) Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
11. Re: Poked to death
- Posted by Raude Riwal <RAUDER at THMULTI.COM> Apr 17, 2000
- 476 views
Just a little point- Mike, could you avoid using so much vulgarity in your posts? maybe you don't need respect, but I feel better with it. And also don't forget that our mailing list is international, and many people don't understand slang as their natural language. Even in Belgium. Riwal
12. Re: Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 17, 2000
- 464 views
>Just a little point- Mike, could you avoid using so much vulgarity in your >posts? maybe you don't need respect, but I feel better with it. And also >don't forget that our mailing list is international, and many people don't >understand slang as their natural language. Even in Belgium. > >Riwal Slang? You haven't even heared my slang! CPU - "Computer" Flok - "F*ck" Horngry - "Horny & hungry at the same time" Etu - "It's" Sheeeiittt - "Shit" Creap - "Crap" Shittyflok - "I...dunno..." I dunno - "I don't know..." I don't know... - "I dunno" And don't forget the "you suck white ass!" expression, oh, and the " Man! I shitted on the stove last night and it smelled....funky...like...fried nuts..." random nonesense. How the hell is it that I keep getting people to "represent" the "people on this list" in there posts wich all have problems with me according to them, yet, I only hear the ones representing the others bitching about my ass. You don't like my writing? Fine, don't read it! You can't understand slang? So what? And I can't understand COBOL! j/k Stop trying to be Mr. Humble Saviour Of the Euphorian Race, you gotta problem, mail me, otherwise, don't try to go all Galant and Nobble infront of others. Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
13. Re: Poked to death
- Posted by Curtis Loftis <CurLfts at CS.COM> Apr 17, 2000
- 457 views
I rarely get involved in these flames. The request for less profanity is reasonable. Quite so. Mike may the best programer who ever lived; however, if his writings in this forum are indicative of his personal communication skills, he lacks in clients. And he is clueless as to why.
14. Re: Poked to death
- Posted by "Rev. Ferlin Scarborough" <ferlin at SANDW.NET> Apr 17, 2000
- 455 views
On Mon, 17 Apr 2000 10:50:44 +0200, Raude Riwal <RAUDER at THMULTI.COM> wrote: >Just a little point- Mike, could you avoid using so much vulgarity in your >posts? maybe you don't need respect, but I feel better with it. And also >don't forget that our mailing list is international, and many people don't >understand slang as their natural language. Even in Belgium. > >Riwal I agree, if Mike would like to have any credibilty then he could use a little cleaner language. Personally if I see a bunch of profanity in a message I just hit the NEXT button to go on to the next email message. If Mike wants people to see his opinion, or to read about his Superior Programs and Programming, then he should do so with respect and less vulgarity. Later,
15. Re: Poked to death
- Posted by Kat <gertie at ZEBRA.NET> Apr 17, 2000
- 478 views
----- Original Message ----- From: "Rev. Ferlin Scarborough" <ferlin at SANDW.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, April 17, 2000 4:42 PM Subject: Re: Poked to death > On Mon, 17 Apr 2000 10:50:44 +0200, Raude Riwal <RAUDER at THMULTI.COM> wrote: > > >Just a little point- Mike, could you avoid using so much vulgarity in your > >posts? maybe you don't need respect, but I feel better with it. And also > >don't forget that our mailing list is international, and many people don't > >understand slang as their natural language. Even in Belgium. > > > >Riwal > > I agree, if Mike would like to have any credibilty then he could use a > little cleaner language. Personally if I see a bunch of profanity in a > message I just hit the NEXT button to go on to the next email message. I hit "delete" Kat
16. Re: Poked to death
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 18, 2000
- 479 views
> >Just a little point- Mike, could you avoid using so much vulgarity in >your > >posts? maybe you don't need respect, but I feel better with it. And also > >don't forget that our mailing list is international, and many people >don't > >understand slang as their natural language. Even in Belgium. > > > >Riwal > >I agree, if Mike would like to have any credibilty then he could use a >little cleaner language. Personally if I see a bunch of profanity in a >message I just hit the NEXT button to go on to the next email message. > >If Mike wants people to see his opinion, or to read about his Superior >Programs and Programming, then he should do so with respect and less >vulgarity. > >Later, FNORD Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com