mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
data generator
This commit is contained in:
parent
09f39610e7
commit
aca2499705
1 changed files with 8 additions and 0 deletions
8
data/mk5g.rb
Executable file
8
data/mk5g.rb
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
5000000000.times do
|
||||
u = rand < 0.5 ? 0 : 1
|
||||
v = rand < 0.1 ? 0 : 1
|
||||
puts "#{u} #{v}"
|
||||
end
|
||||
puts "3 5"
|
||||
Loading…
Add table
Add a link
Reference in a new issue