$ 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.soDo 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/\.