Files
swift-nio/Sources
Johannes Weiß 12cae95c64 remove assertion that String.UTF8View doesn't underestimate count (#392)
Motivation:

I left an assertion that String.UTF8View's underestimatedCount is equal
to the actual count of UTF-8 code units. It's good to see that it never
failed so far so we can expect it to be really good which is important
for performance.
However, there's no problem if it does actually underestimate maybe for
some special kind of Strings. So the assertion really isn't meaningful.

Modifications:

Remove the assertion.

Result:

Most likely nothing but we will not crash on something that we
shouldn't crash on.
2018-05-06 20:34:28 +02:00
..
2017-12-15 09:50:12 +00:00
2018-03-19 14:45:32 +01:00