Array append performance

Benji Smith dlanguage at benjismith.net
Mon Aug 25 12:36:30 PDT 2008


superdan wrote:
> Benji Smith Wrote:
> 
>> superdan wrote:
>>>> In languages where Strings are objects (please!!! please, Walter!!!)
>>> ok, i'll bite. what exactly are you so desperately asking for?
>> For strings to be implemented as objects, rather than as arrays of 
>> characters.
>>
>> --benji
> 
> ok i assume u mean class objects. because current arrays are objects. only not of class type.
> 
> and what advantages would that have. let me tell u of one disadvantage fer starters. with builtin arrays of characters you can efficiently implement classes. with classes you can't efficiently implement arrays of characters.

I'll start a new thread, so as not to hijack this one further.

--benji



More information about the Digitalmars-d mailing list