Created
June 29, 2011 18:09
-
-
Save khellan/1054466 to your computer and use it in GitHub Desktop.
Yajl parsing memory leak with Rubinius pre2.0.0
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 | |
require "rubygems" | |
require "yajl" | |
input = ARGV.shift | |
count = 0 | |
Yajl::Parser.parse(open(input)) {|line| count += 1} | |
puts count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment