Proposal for SentinelInputRange

Walter Bright newshound2 at digitalmars.com
Thu Feb 28 17:46:29 PST 2013


On 2/28/2013 5:29 PM, Andrei Alexandrescu wrote:
> On 2/28/13 7:34 PM, Walter Bright wrote:
>> On 2/28/2013 4:07 PM, Jonathan M Davis wrote:
>>> I just don't see how you're going to get a
>>> performance gain from much of anything other than strings.
>>
>> I gave you other examples already. We're just going around in circles.
>
> We're talking about an abstraction that doesn't exist, exemplifying with code
> that doesn't use it. No wonder there's going to be miscommunication. The
> solution is to spin some code.

std.regexp uses sentinels in the bytecode.



More information about the Digitalmars-d mailing list