Rewrite ByteVector::replace() to run in O(n) time.

This commit is contained in:
Tsuda Kageyu
2016-12-05 11:02:59 +09:00
parent b00a5c1aab
commit 36ccad2bd4
2 changed files with 46 additions and 32 deletions
+1
View File
@@ -313,6 +313,7 @@ public:
CPPUNIT_ASSERT_EQUAL(ByteVector("abcdaba"), a);
}
}
void testReplaceAndDetach()
{
{