Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  Print  
  JavaOne  (Read 5026 times)
0 Members and 1 Guest are viewing this topic.
Offline Herkules

JGO Kernel
*****

Posts: 1522
Medals: 1


Friendly fire isn't friendly!


« Reply #30 on: 2003-06-05 02:00:23 »

One member??

SOME members of this forum are listed.
But being listed on a news server that replicated press releases is not really a reason to be proud.....

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline larry

Jr. Member
**

Posts: 64


.. son of jor-el, kneel before zod ...


« Reply #31 on: 2003-06-05 08:28:16 »

How about hosting a JavaTwo in europe?

all in favour say : "i"
all not in favour say: "j"

if ( i >= j || i < j) {
 javaTwo = new JavaOne("Amsterdam");
}

Wink
Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #32 on: 2003-06-05 09:15:45 »

Now wait a gosh darn minute here! That code is rigged! Why don't you just post:

1  
2  
3  
4  
5  
6  
boolean weDontCareAboutYourOpinion = true;

if(i > j || weDontCareAboutYourOpinion)
{
    javaTwo = new JavaOne("Amsterdam");
}

Java Game Console Project
Last Journal Entry: 12/17/04
Games published by our own members! Go get 'em!
Offline ryanm
« League of Dukes »

JGO Strike Force
*****

Posts: 788
Medals: 4


Used to be bleb


« Reply #33 on: 2003-06-05 09:31:46 »

Or even better, short-circuit the boolean condition and have a JavaTwo here even faster, by at least a couple of nanoseconds...

1  
2  
3  
4  
5  
6  
boolean weDontCareAboutYourOpinion = true;

if( weDontCareAboutYourOpinion || i > j)
{
    javaTwo = new JavaOne("Amsterdam");
}

Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #34 on: 2003-06-05 09:44:35 »

Quote
Or even better, short-circuit the boolean condition and have a JavaTwo here even faster, by at least a couple of nanoseconds...


It would be faster, but it would prevent the poster from gloating if enough people *do* vote for it. If enough people don't vote for it, then he just says "I don't care. Do it anyway!" Wink

Java Game Console Project
Last Journal Entry: 12/17/04
Offline cfmdobbie

JGO Wizard
****

Posts: 1257


Who, me?


« Reply #35 on: 2003-06-05 09:56:47 »

Um, guys...? Grin

Hellomynameis Charlie Dobbie.
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #36 on: 2003-06-06 01:07:17 »

Quote
It would be faster,

I think not. I would guess the i > j clause will be optimized out by the compiler either way (probably even the whole if), so they will be equally fast.  Tongue

Quote
Um, guys...?  

Ahem, (cough) yes
*getting back to work *
Grin

Pages: 1 [2]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.095 seconds with 20 queries.