apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: more notes on the apr_time_t issue
Date Sat, 13 Jul 2002 05:55:03 GMT
On Fri, Jul 12, 2002 at 10:44:33PM -0700, Justin Erenkrantz wrote:
> As Roy pointed out, this is partial hiding.  I'm now of the mind
> that it should be a full ADT under an abstract type.  Therefore,
> the +/- operations should be handled by an API.  (For performance
> reasons, it can be a macro - say apr_time_add/apr_time_diff which
> do the obvious C scalar operations.)  But, under no circumstances
> for this solution, can the user do *anything* with the value
> without going through some API.

Don't you think that will kill performance?

-aaron

Mime
View raw message