OpenJDK uses 8192 byte buffers internally a lot last time I checked. Might be overkill, though 258 does sound pretty low.
On 14 March 2016 at 15:41, Gary Gregory <[email protected]> wrote: > Hi all, > > I've seem commits with a StringBuilder limit of 258 characters as opposed > to 1024 in the abstract string layout. Why the difference? Because the > former is in a ring buffer? > > A casual check of my logs show line lengths of >259 as pretty common. > > Gary > > -- > E-Mail: [email protected] | [email protected] > Java Persistence with Hibernate, Second Edition > <http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- Matt Sicker <[email protected]>
