[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFC: string/value conversion functions

From: David Glasser <glasser_at_davidglasser.net>
Date: Wed, 26 Aug 2009 15:42:33 -0700

On Wed, Aug 26, 2009 at 11:17 AM, Greg Stein<gstein_at_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.


glasser_at_davidglasser.net | langtonlabs.org | flickr.com/photos/glasser/
Received on 2009-08-27 00:43:19 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.