To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 26254
     
   
Subject: 
Re: Memory - Where did it go?
Newsgroups: 
lugnet.robotics
Date: 
Sun, 9 Jul 2006 14:11:51 GMT
Original-From: 
Tripp,Edwin <TRIPP@OCLC.ihatespamORG>
Viewed: 
3032 times
  

Regarding the question of some constant overhead
plus some increment per block, the sound block
example given computes to 0.5 kb overhead plus
0.2 kb per block.

Edwin Tripp
tripp@oclc.org



-----Original Message-----
Sent: Saturday, July 08, 2006 10:27 AM
To: lego-robotics@crynwr.com
Subject: Re: Memory - Where did it go?

.............

If the file does indeed double in size then there is something
quite amazingly inefficient going on...

   A single Sound block set to play a sound file: 0.7 kb
   Four Sound blocks configured as above:         1.3 kb
   Eight identical Sound blocks in a sequence:    2.1 kb

Conclusion? There's some significant overhead in the NXT-G language and
compiler
as it stands right now.

--
Brian Davis

 

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