Re: [PATCH] String API re-implementation using SBuf

From: Kinkie <gkinkie_at_gmail.com>
Date: Thu, 10 Oct 2013 16:44:15 +0200

Hi,
  Amos and I reviewed this on IRC, it's buggy and incomplete; it needs
further work.

On Thu, Oct 10, 2013 at 11:12 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> This patch implements Alex's suggestion for step 1 of String removal by ...
>
> Replace String class internals with an SBuf.
>
> This method allows all String code to be converted quickly to SBuf without
> so much worry about correct API conversion elsewhere around the code since
> the wrapper provides exemplar cut-n-paste code to work from.
>
> Addition of a SBuf constructor and toSBuf() accessor to String allows code
> using String to be converted directly to the SBuf API in smaller portions
> later. These obsolete the SBuf API converters to String and help reduce the
> SBuf API.
>
> Amos
>

-- 
    /kinkie
Received on Thu Oct 10 2013 - 14:44:24 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 11 2013 - 12:00:10 MDT