⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (272 Bytes)
Bug #2992
» test_md5.rb
phiggins (Pete Higgins)
, 03/21/2010 05:34 AM
require
'digest/md5'
test_file
=
"delete_me"
File
.
open
(
test_file
,
"w"
)
{
|
f
|
f
<<
"0"
*
1000
}
puts
"Pid:
#{
Process
.
pid
}
"
STDIN
.
gets
100
.
times
do
Digest
::
MD5
.
file
(
test_file
).
digest
end
GC
.
start
puts
"done"
STDIN
.
gets
require
'fileutils'
FileUtils
.
rm
(
test_file
)
« Previous
1
2
Next »
(1-1/2)
Loading...