From: Brian Candler Date: 2009-02-03T20:24:22+09:00 Subject: Re: Native gem roundup! >> $ cd /usr/local/lib/ruby/gems/1.8/gems/; find . -name '*.so' >> ./json-1.1.3/ext/json/ext/parser/parser.so >> ./json-1.1.3/ext/json/ext/generator/generator.so >> ./json-1.1.3/ext/json/ext/parser.so >> ./json-1.1.3/ext/json/ext/generator.so > > Do people generally use the native json gem for performance reasons? > Does a pure-ruby version not cut it? Are there benchmarks? I only use it by default, because there are other gems which have dependencies on "json" rather than "json_pure". e.g. $ gem dependency couchrest Gem couchrest-0.12.4 json (>= 1.1.2, runtime) rest-client (>= 0.5, runtime) mime-types (>= 1.15, runtime) Regards, Brian. -- Posted via http://www.ruby-forum.com/.