Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use simple scanner instead of regexp for etchosts.Delete
Benchmark results: benchmark old ns/op new ns/op delta BenchmarkDelete 4315186 2245829 -47.96% benchmark old allocs new allocs delta BenchmarkDelete 4645 10 -99.78% benchmark old bytes new bytes delta BenchmarkDelete 1590011 4832 -99.70% Signed-off-by: Alexander Morozov <lk4d4@docker.com>
- Loading branch information