std.utf.decode @nogc please

Dmitry Olshansky via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 3 12:55:58 PDT 2014


03-Oct-2014 23:51, Andrei Alexandrescu пишет:
> On 10/3/14, 11:35 AM, Dmitry Olshansky wrote:
>> 01-Oct-2014 14:10, Robert burner Schadek пишет:
>>> lately when working on std.string I run into problems making stuff nogc
>>> as std.utf.decode is not nogc.
>>>
>>> https://issues.dlang.org/show_bug.cgi?id=13458
>>
>> Trivial to do. But before that somebody got to make  one of:
>>
>> a) A policy on reuse of exceptions. Literally we have easy TLS why not
>> put 1 copy of each possible exception there? (**ck the chaining, who
>> need it anyway?)
>> b) Make all exceptions ref-counted.
>>
>> The benefit of A is that "creating" exceptions becomes MUCH faster.
>
> This seems to be going in circles. Didn't we just agree we solve this by
> making exceptions reference counted? Please advise. -- Andrei
>

Lately I get to read NG once/twice a week.

I haven't seen or have missed big red
WE ARE MAKING EXCEPTIONS ref-counted "real soon"(TM)

Good to know anyway.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list