Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: RFC: string/value conversion functions

subversion
Discussion topic

Back to topic list

Re: RFC: string/value conversion functions

Author glasser
Full name David Glasser
Date 2009-08-26 15:42:56 PDT
Message On Wed, Aug 26, 2009 at 11:17 AM, Greg Stein<gstein at gmail dot 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 at davidglasser dot net | langtonlabs.org | flickr.com/photos/glasser/

« Previous message in topic | 2 of 7 | Next message in topic »

Messages

Show all messages in topic

RFC: string/value conversion functions gstein Greg Stein 2009-08-26 11:17:30 PDT
     Re: RFC: string/value conversion functions glasser David Glasser 2009-08-26 15:42:56 PDT
     Re: RFC: string/value conversion functions julianfoad Julian Foad 2009-08-27 09:31:11 PDT
         Re: RFC: string/value conversion functions gstein Greg Stein 2009-09-13 04:24:30 PDT
             Re: RFC: string/value conversion functions julianfoad Julian Foad 2009-09-14 07:05:08 PDT
                 Re: RFC: string/value conversion functions gstein Greg Stein 2009-09-14 07:51:48 PDT
                     Re: RFC: string/value conversion functions julianfoad Julian Foad 2009-09-15 06:45:36 PDT
Messages per page: