irclog2html for uclibc on 2002.09.19

01:14:10bug1its cheaper to pass an int than a short or char as a function paramater
01:14:27bug1but when your in the function its cheaper to declare a short or char than it is an int
01:15:02bug1weird
01:15:12mjn3hmm
01:15:42bug1ive only just tried it in th unzip.c im working on
01:16:18bug1i guess there are standard prototypes for function arguments, and its more common to use ints
01:16:42bug1static unsigned int fill_bitbuffer(unsigned int bitbuffer, unsigned int *current, const unsigned int required)
01:16:50bug1is smaller than
01:17:03bug1static unsigned int fill_bitbuffer(unsigned int bitbuffer, unsigned char *current, const unsigned char required)
01:17:14mjn3i've noticed that sometimes declaring a short or a char is cheaper than an int, and sometimes not.  and it depends on the compiler to of course.  as far as passing a parameter, that may not be that surprising, since the compiler needs to ensure the unused stuff is masked off
01:17:32bug1smaller by 30 bytes
01:20:32bug1unused stuff is masked off?   so if you declare a char as an argument internally it might use an int and mark 3 bytes as being unuable ?
01:21:22mjn3what i mean is that it needs to do a cast-to-char or cast-to-short on the val passed
01:21:38bug1ahh
01:21:58bug1yes in my example it would have had to do a cast
01:22:07bug1(if i use a char)
02:10:03anderseeis back (gone 05:04:11)
05:54:47anderseeEvening Tim
05:54:59anderseeBZFlag: did you end up making it to sllug?
07:44:00BZFlagyep. headed to bed now.
07:44:27BZFlagI'll likely show up Monday morning for setup. have to be in the office later though.
07:44:41BZFlagwe'll see. next week could be busy in the office.
07:44:43BZFlagnite
14:41:42mjn3BZFlag: i emailed the tmpfs/ramfs to you yesterday.  just mentioning it in case i entered the wrong email address
20:00:35Russ|werkanyone notice any problems with todays cvs?

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with infobot logs, split per channel and by date, etc.