On 3/23/14, 2:29 PM, Dmitry Olshansky wrote:
24-Mar-2014 01:22, Andrei Alexandrescu пишет:Here's a baseline: http://goo.gl/91vIGc. Destroy!Assertions to check encoding?! I thought it would detect broken encoding and do a substitution at least.
That implementation does zero effort to optimize checks themselves, and indeed puts them in asserts. I think there's value in having such a primitive down below.
Andrei
