To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 3610
3609  |  3611
Subject: 
Re: Blue screen of death
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 14 Feb 2002 05:58:28 GMT
Viewed: 
412 times
  
and pretend that Chris tries to press the restart button on his robot,
during a 'bot failure because of his code... ;-)


like I'd even give that little PUNK KID the chance to tell me my "robot
sucks."

HA, if he or his dopple ganger (sp) even open his mouth I'm gonna WHACK
him.

With some help from (someone) It was pointed out that

variable = variable + 1 is just not as efficient as

variable += 1

So i changed ALL my code math from the former to the latter.  the end
result, less crashes (so far none) and faster speed.

yep shaved a whole second off.  watch out Derek I'm right on your heels.

p.s.  I STILL do not "grok"  +=




Chris
Victory will be mine!!



Message has 1 Reply:
  Re: Blue screen of death
 
variable++ is probably even better for a simple increment (variable-- for decrement). Of course, the compiler may recognize this and translate "++" and "+=1" as the same. (...) (23 years ago, 14-Feb-02, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: Blue screen of death
 
(...) yeah...and don't forget to include your tag-line at the bottom, so everyone will have no doubt that you submitted the posting....especially if it involves any good ribbing of Chris... :) Benjamin Medinets pretend that Chris has a full (...) (23 years ago, 14-Feb-02, to lugnet.org.ca.rtltoronto)

11 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR