Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > StringBuilder for byte[]

Thread Tools

StringBuilder for byte[]

Posts: n/a
Roedy Green wrote:
> Lew wrote, quoted or indirectly quoted someone who said :
>> He said that the task is "to write a StringBuilder or FastCat".

> What I intended was just something to concatenate byte[] into longer
> byte[], no encodings involved, not a StringBuilder than squirted out
> encoded bytes. It is a subset of what ByteArrayOutputStream does.
> A FastCat is like a StringBuilder but where you estimate the number
> fragments to be joined, not the total length of the result. It is more
> RAM efficient since it allocates the precise amount of space needed
> for the concatenated String.
> see
> where I discuss the merits of StringBuilder vs FastCat vs StringBuffer

I stand corrected.

Reply With Quote
Roedy Green
Posts: n/a
On Sat, 19 Jan 2013 00:42:52 -0800 (PST), Lew <(E-Mail Removed)>
wrote, quoted or indirectly quoted someone who said :

>I stand corrected.

I said something that was interpreted two different ways. That is my
bad, not yours.
Roedy Green Canadian Mind Products
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development
~ Tom Cargill Ninety-ninety Law
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
string vs stringbuilder H.G.Srivatsa ASP .Net 3 08-25-2005 01:55 PM
Double Quotes in a stringbuilder =?Utf-8?B?SnVzdGlu?= ASP .Net 2 03-18-2005 12:57 AM
Does a StringBuilder effect Viewstate variable size? darrel ASP .Net 2 01-28-2005 11:31 PM
How to reset a StringBuilder? ESPN Lover ASP .Net 2 10-14-2004 03:42 PM
no stringbuilder in C#2.0? =?Utf-8?B?SGFuZGk=?= ASP .Net 2 09-11-2004 08:27 AM