From 36a23c387b511a12ee045372862f50a884ad4f19 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 18 Jan 2014 23:00:35 +0000 Subject: [PATCH] Iterator beginnings. --- main.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/main.cpp b/main.cpp index a6c345dd3..c50f0a679 100644 --- a/main.cpp +++ b/main.cpp @@ -229,13 +229,6 @@ int main() } }; - add("doe", "reindeer"); - add("do", "verb"); - add("doge", "coin"); - m.clear(); - d.init(); - t.remove("doe"); t.remove("do"); t.remove("doge"); - s.clear(); add("dogglesworth", "cat"); add("doe", "reindeer"); remove("dogglesworth"); @@ -247,10 +240,10 @@ int main() remove("doge"); remove("doe"); - for (int a = 0; a < 200; ++a) + for (int a = 0; a < 20; ++a) { StringMap m; - for (int i = 0; i < 200; ++i) + for (int i = 0; i < 20; ++i) { auto k = randomWord(); auto v = toString(i);