Created
October 23, 2017 21:06
-
-
Save uberbrady/9837bad518a20d53beb2400b7d3b9c28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# a=[] | |
require 'tempfile' | |
f=Tempfile.open | |
1_000_000.times do |what| | |
# a+=["froopty@blorp.norb"] | |
f.write("froopty@blorp.norb#{what}\n") | |
p "ten thousand: #{what}" if what % 10_000 == 0 | |
end | |
p "Done?" | |
f.close | |
p f | |
sleep 60 | |
#p "A length is: #{a.count}" | |
p a[brady@Bradys-mbp tmp]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment