[interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- From: Erik Jaesler <erik@xxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Fri, 11 Oct 2002 09:01:52 -0700
Because you were initially subscribed as "alan@xxxxxxxxxxxxxx", but sent
this missive from "alan@xxxxxxxxxxxxxx". I tried to repost when the
mail system asked for approval, but apparently I didn't do it correctly.
=\ So I just sent it myself.
Anyway, you're now also subscribed at cgsoftware.com (but on vacation so
you don't get two copies of everything).
e
Alan Ellis wrote:
> why am I getting this from you?
>
> Confuised.
> alan
>
>
> On Thu, Oct 10, 2002 at 04:37:41PM -0700, Erik Jaesler wrote:
>
>>Yes, having similar functions bottleneck through a single function is
>>really the best way for maintainability and correctness.
>>
>>If we are -really- concerned about performance, we can inline the
>>'stubby' functions in the header.
>>
>>Alan
>>
>>
>>On Thu, Oct 10, 2002 at 07:31:04PM +0200, Jack Burton wrote:
>> >
>> > Hi all.
>> > I hope you all won't be upset by another question :)
>> > I'm approaching the completion of BString (some methods are well tested,
>> > other aren't, and a pair aren't implemented, but it will be in short
>>time),=
>> >
>> > and I was wondering.... Often I have some function which are similar,
>>for
>> > example:
>> >
>> > 1. Prepend(const char *string)
>> >
>> > and
>> >
>> > 2. Prepend(const BString &string).
>> >
>> > These functions call a private utility function (_DoPrepend),
>> > but I am thinking if it would be better for the (2) to just call the
>>first
>> > (i.e.
>> >
>> > Prepend(const BString &string)
>> > {
>> > =09Prepend(string.String());
>> > }
>> >
>> > Yes, this mean a little performance loss, but it would have the
>>undubious
>> > vantage that there would be less code =3D=3D less bugs.
>> > Anyway, this is just an example, and I would be glad if someone took a
>> > moment and threw a look to our BString implementation, to understand
>>what I=
>> >
>> > am saying.
>> >
>> > Thanks.
>>
>>
>>
>>// eompost 3DA6097C:5A67.1:vagresnprxvg
>>
>>
>>
>
>
- References:
- [interfacekit] [Fwd: Message submitted to 'interfacekit']
- From: Erik Jaesler
- [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- From: Alan Ellis
Other related posts:
- » [interfacekit] [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- » [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- [interfacekit] [Fwd: Message submitted to 'interfacekit']
- From: Erik Jaesler
- [interfacekit] Re: [Fwd: Message submitted to 'interfacekit']
- From: Alan Ellis