From bb63b9d78c8245ce2736e736765edfe9dc34cbe6 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Sun, 25 Jan 2009 12:59:25 -0800 Subject: [PATCH] remove misleading comments from tests --- test/test_failure.rb | 4 ---- test/test_many_requests.rb | 4 ---- 2 files changed, 8 deletions(-) diff --git a/test/test_failure.rb b/test/test_failure.rb index 824534f..c6aa285 100644 --- a/test/test_failure.rb +++ b/test/test_failure.rb @@ -1,7 +1,3 @@ -# shows the effect of using .all_hashes instead of looping on each hash -# run it by substiting in a 'long' [many row] query for the query variable and toggling use_all_hashes here at the top -# note that we load all the rows first, then run .all_hashes on the result [to see more easily the effect of all hashes] -# on my machine and a 200_000 row table, it took 3.38s versus 3.65s require 'rubygems' require 'mysqlplus' begin diff --git a/test/test_many_requests.rb b/test/test_many_requests.rb index ce712bf..7e4f99a 100644 --- a/test/test_many_requests.rb +++ b/test/test_many_requests.rb @@ -1,7 +1,3 @@ -# shows the effect of using .all_hashes instead of looping on each hash -# run it by substiting in a 'long' [many row] query for the query variable and toggling use_all_hashes here at the top -# note that we load all the rows first, then run .all_hashes on the result [to see more easily the effect of all hashes] -# on my machine and a 200_000 row table, it took 3.38s versus 3.65s require 'rubygems' require 'mysqlplus' a = Mysql.real_connect('localhost','root')