D perfomance

Stefan Koch uplink.coder at googlemail.com
Sun Apr 26 11:59:27 UTC 2020


On Sunday, 26 April 2020 at 11:40:49 UTC, John Colvin wrote:
>
> I understand that it was an annoying breaking change, but aside 
> from the difficulty of migrating I don't understand why a 
> custom type isn't the appropriate solution for this problem. I 
> think I heard "We want to use the built-in slices", but I never 
> understood the technical argument behind that, or how it 
> stacked up against not getting the desired behaviour.
>
Can you imagine replacing every usage of slices with a custom 
type in your code?
And making sure programmers joining the company do the same?
and having converts that e.g. accept ubyte arrays from libraries 
and convert them into yours?





More information about the Digitalmars-d mailing list