remove misleading comments from tests
This commit is contained in:
parent
e259f9507e
commit
bb63b9d78c
@ -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 'rubygems'
|
||||||
require 'mysqlplus'
|
require 'mysqlplus'
|
||||||
begin
|
begin
|
||||||
|
@ -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 'rubygems'
|
||||||
require 'mysqlplus'
|
require 'mysqlplus'
|
||||||
a = Mysql.real_connect('localhost','root')
|
a = Mysql.real_connect('localhost','root')
|
||||||
|
Loading…
Reference in New Issue
Block a user