Challenge: write a reference counted slice that works as much as possible like a built-in slice

Greg Strong mageofmaple at protonmail.com
Thu Nov 11 17:03:42 UTC 2021


On Thursday, 11 November 2021 at 16:09:46 UTC, Stanislav Blinov 
wrote:
> That's an interesting way of doing science.

Most computer programming is not science.  Programming is a 
trade.  There is, of course, such a thing as computer science, 
but it is not what most programmers do most of the time.

On Thursday, 11 November 2021 at 16:09:46 UTC, Stanislav Blinov 
wrote:
> How would you notice anything without a baseline, which you 
> haven't even set yet because you're not at (4)? You won't. You 
> just wrote a slow piece of software and you don't even know it 
> because you didn't look, because it didn't appear slow? Eh?

The simple fact is that for roughly 99% of code, (in terms of 
lines of code, not complete programs), performance is basically 
irrelevant.


More information about the Digitalmars-d mailing list