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

Re: [PATCH] Optionally use deltas in dumpfiles

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-02 03:32:47 CEST

On Thu, Apr 01, 2004 at 08:26:14PM -0500, Greg Hudson wrote:
> I guess I'm not terribly sanguine about this idea because:
>
> * Boolean flags are only one type of argument, so this only allows one
> type of compatible extension, covering maybe 25% of API extensions (just
> kind of estimating based on the number of extensions we've made so far).

Yes and no. It would help us avoid spewing about new functions. If we
could simply add a bit flag for some new behavior it would save us from
adding a lot of extraneous functions.

A lot of times we're adding changes that change the way a function
behaves where it would be nice to be able to do that without adding a
function or changing the functions signature.

> * It makes all of the APIs which take boolean flags (including the
> majority which we'll never extend) more heavyweight, in terms of the
> verbiage necessary to describe and use them.

True. Bitfields are more difficult to use. It's a tradeoff and depends
on if you think the benefits are worth the cost.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 03:33:12 2004

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.