Oh definitely, I know theres a huge performace boost when reading files using byte[], I don't know what parts of James we're talking about without looking, and I suspect some things will benefit much more from block reads than others.
I just flung out the question in a fit of idle curiosity (I seem to be good at that today, and its not even friday).. ;-) d. > -----Original Message----- > From: Stephan Schiessling [mailto:[EMAIL PROTECTED]] > Sent: 28 March 2002 19:18 > To: James Developers List > Subject: Re: About CharTerminatedInputStream > > > > Most likely read(byte[]...) is used by other classes. > These methods class read() internally, but don't you > think that the JVM optimizes these method calls ? > I bet that they are optimized. > > Bye, > > Stephan Schiessling > > > > > > Sandeep Sharma wrote: > > Hi! > > > > I have some doubts regarding the effeciency of the > > CharTerminatedInputStream : > > > > Processing every byte of the message will shoot up CPU > > usage like any thing for example if JAMES receive a > > message of 8K then there will be > > > > 8 * 1024 = 8192 read() function calls > > > > further the overhead of calling read() function 8192 > > times + the processing time will consume lots of CPU > > cycles consequently reducing the overall capacity of > > the JAMES to handle mails > > > > I would advice JAMES developers to use Transaction > > Cost Analysis (TRC) method to performance test JAMES > > Mail Server > > > > Sandiep > > CTO Infosoft TechNet Private Limited > > http://www.infosoftin.com > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Movies - coverage of the 74th Academy Awards� > > http://movies.yahoo.com/ > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
