diff --git a/lectures/optimization/map_erase/README.md b/lectures/optimization/map_erase/README.md index 0f78388..c378b25 100644 --- a/lectures/optimization/map_erase/README.md +++ b/lectures/optimization/map_erase/README.md @@ -24,7 +24,7 @@ Compile and run these 2 programs to see the performance difference. [map_erase_slow.cpp](map_erase_slow.cpp) [map_erase_fast.cpp](map_erase_fast.cpp) -Both programs just creates a map containing 1 millions integers, and then erase these 1 millions integers. As can be seen from the following results, erasing by iterators is much faster than erasing by key. +Both programs just create a map containing 1 millions integers, and then erase these 1 millions integers. As can be seen from the following results, erasing by iterators is much faster than erasing by key. ```console $g++ map_erase_slow.cpp -o map_erase_slow