You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Glasser <gl...@davidglasser.net> on 2009/08/26 22:42:33 UTC

Re: RFC: string/value conversion functions

On Wed, Aug 26, 2009 at 11:17 AM, Greg Stein<gs...@gmail.com> wrote:
> Hey all,
>
> In my last shift of code from wc_db.c to upgrade.c, I had to duplicate
> one of the functions that converts between values and string constants
> (a "word"). We have a bunch of these functions all over the place that
> convert to/from values. And when my plane landed a couple hours ago, I
> see that Daniel committed Yet Another One in r38944.
>
> I've attached two files for review/comment before I really start
> filling it out, and committing the thing.
>
> This implementation is very simplistic. If we find performance
> problems, then we can create some hand-coded or scripted solutions to
> improve the speed.
>
> The code is targeted for libsvn_subr, but it "reaches higher" into
> headers from higher-level systems to get enumerated values. There are
> no *link* loops, however, so I believe this is okay.
>
> Comments, please!
>
> Cheers,
> -g
>
> ps. it looks like the attachments came in with the wrong mime type.
> not sure how to fix that with gmail... sorry :-(

Adding a '.txt' to the end of the file names can help.

--dave


-- 
glasser@davidglasser.net | langtonlabs.org | flickr.com/photos/glasser/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2387740