On Friday, 1 March 2013 at 01:46:34 UTC, Walter Bright wrote:
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.
I think nobody says that this technic is useless. Simply that a
good compiler can take advantage of it without introducing an
higher level concept of sentinel input range.