logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Efficient String to byte[] encoding
Date Tue, 10 Nov 2015 05:10:51 GMT
Ah, this was a kid's party so we went on the Redondo Beach pier (by
Polly's) with 15 boys and fished off the pier.

Gary

On Mon, Nov 9, 2015 at 1:15 PM, Ralph Goers <ralph.goers@dslextreme.com>
wrote:

> Fishing?  In LA?  Oh that’s right you are actually south of LA.  Still I
> hope you are going out to deep water where the water is cleaner.
>
> Ralph
>
> On Nov 9, 2015, at 1:56 PM, Gary Gregory <garydgregory@gmail.com> wrote:
>
> Well, let's start with StringEncoder in Core utils... can you do that?
> I'm off today, taking my son fishing for his birthday...
>
> Gary
>
> On Mon, Nov 9, 2015 at 12:36 PM, Matt Sicker <boards@gmail.com> wrote:
>
>> Depends if we want to add any other non-encoding string utility functions
>> to that or keep them separate. If separate, then StringEncoder sounds fine
>> to me.
>>
>> On 9 November 2015 at 14:33, Gary Gregory <garydgregory@gmail.com> wrote:
>>
>>> How about a Core StringEncoder util class?
>>>
>>> We have a "Strings" class in the API util package, so it seems odd to
>>> have another "Strings" util class in the Core util package.
>>>
>>> Gary
>>>
>>> On Mon, Nov 9, 2015 at 12:30 PM, Gary Gregory <garydgregory@gmail.com>
>>> wrote:
>>>
>>>> Well, we could keep it in the core util for now, the question is where?
>>>>
>>>> Gary
>>>>
>>>> On Mon, Nov 9, 2015 at 12:23 PM, Matt Sicker <boards@gmail.com> wrote:
>>>>
>>>>> I'd like to keep the API util to very low-level utility things needed
>>>>> by the API, too.
>>>>>
>>>>> On 9 November 2015 at 11:49, Gary Gregory <garydgregory@gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> On Mon, Nov 9, 2015 at 8:06 AM, Mikael Ståldal <
>>>>>> mikael.staldal@magine.com> wrote:
>>>>>>
>>>>>>> Can we make AbstractStringLayout.toBytes(String, Charset) public?
>>>>>>>
>>>>>>> I would like to use it in KafkaAppender.
>>>>>>>
>>>>>>> If I understand it correctly, it is supposed to be more efficient
>>>>>>> than String.getBytes(Charset).
>>>>>>>
>>>>>>
>>>>>> We could move this to a new Strings class in org.apache.logging.log4j.
>>>>>> *core*.util or to the existing org.apache.logging.log4j.*util*.Strings.
>>>>>> I'm just not crazy about turning org.apache.logging.log4j.util into
a
>>>>>> kitchen sink.
>>>>>>
>>>>>> Gary
>>>>>>
>>>>>>
>>>>>>> --
>>>>>>> [image: MagineTV]
>>>>>>>
>>>>>>> *Mikael Ståldal*
>>>>>>> Senior software developer
>>>>>>>
>>>>>>> *Magine TV*
>>>>>>> mikael.staldal@magine.com
>>>>>>> Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com
>>>>>>>
>>>>>>> Privileged and/or Confidential Information may be contained in
this
>>>>>>> message. If you are not the addressee indicated in this message
>>>>>>> (or responsible for delivery of the message to such a person),
you
>>>>>>> may not copy or deliver this message to anyone. In such case,
>>>>>>> you should destroy this message and kindly notify the sender
by
>>>>>>> reply email.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>>>> 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 <boards@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> 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 <boards@gmail.com>
>>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> 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
>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
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

Mime
View raw message