summaryrefslogtreecommitdiff
path: root/ruby_2_2/benchmark/prepare_so_count_words.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_2_2/benchmark/prepare_so_count_words.rb')
-rw-r--r--ruby_2_2/benchmark/prepare_so_count_words.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/ruby_2_2/benchmark/prepare_so_count_words.rb b/ruby_2_2/benchmark/prepare_so_count_words.rb
deleted file mode 100644
index ee2138cdb2..0000000000
--- a/ruby_2_2/benchmark/prepare_so_count_words.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# prepare 'wc.input'
-
-def prepare_wc_input
- wcinput = File.join(File.dirname($0), 'wc.input')
- wcbase = File.join(File.dirname($0), 'wc.input.base')
- unless FileTest.exist?(wcinput)
- data = File.read(wcbase)
- 13.times{
- data << data
- }
- open(wcinput, 'w'){|f| f.write data}
- end
-end
-
-prepare_wc_input