Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement a freeze: parser option | Jean Boussier | 2020-09-15 | 1 | -73/+85 |
| | | | | | | | If set to true all parsed objects will be immediately frozen, and strings will be deduplicated if the Ruby implementation allows it. | ||||
* | Always use underscore for match string | Florian Frank | 2019-02-21 | 1 | -3/+3 |
| | |||||
* | Merge decimal_class patch by Michael Jaschob | Florian Frank | 2016-09-23 | 1 | -77/+92 |
| | | | | | | Also: - Avoid some issues with bundler - Avoid some issues with jruby | ||||
* | Fix issue #296 when parsing frozen strings | Florian Frank | 2016-07-26 | 1 | -71/+74 |
| | |||||
* | Treat ASCII_8BIT as UTF-8 by default | Florian Frank | 2016-06-03 | 1 | -72/+78 |
| | |||||
* | Remove quirks mode | Florian Frank | 2016-06-02 | 1 | -409/+103 |
| | |||||
* | Remove remnants of GPL licenses | Florian Frank | 2015-09-11 | 1 | -2/+1 |
| | |||||
* | Improve JRuby perf. by removing source of multithreaded contention | Ben Browning | 2015-01-02 | 1 | -85/+86 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RuntimeInfo.forRuntime method synchronizes all invocations and ParserSession#parseString was calling this many times when parsing large JSON strings. Thus, when running in a heavily multithreaded environment, threads were spending a large portion of their time waiting on that synchronization instead of doing work parsing the JSON. This fix simply passes in the RuntimeInfo object to the ParserSession when it's instantiated, since the RuntimeInfo is already known and we've already incurred the synchronization cost at that time. Using the test script at https://gist.github.com/bbrowning/0b89580b03a5f19e7a9f, I get the following results before and after this fix on my machine: Before: $ jruby ~/tmp/json_contention.rb 337.920000 0.570000 338.490000 ( 57.955000) After: $ jruby ~/tmp/json_contention.rb 326.400000 0.580000 326.980000 ( 43.084000) That's a 25% reduction in processing time for parsing the same JSON on my quad core machine. I'd expect an even higher percentage improvement on a machine with more CPUs. | ||||
* | Security fix create_additons/JSON::GenericObjectv1.7.7 | Florian Frank | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | Change actual rl filessferik-max_nesting | Florian Frank | 2012-10-07 | 1 | -1/+1 |
| | |||||
* | Increase default max_nesting to 100 | Erik Michaels-Ober | 2012-10-05 | 1 | -1/+1 |
| | | | | See discussion at https://github.com/intridea/multi_json/pull/59. | ||||
* | enforce utf8 encoding in parsed stringsjruby-fix-encoding | Florian Frank | 2012-05-10 | 1 | -36/+40 |
| | |||||
* | Merge branch 'more_jruby_tweaks' of https://github.com/headius/json into ↵ | Florian Frank | 2011-12-21 | 1 | -84/+87 |
|\ | | | | | | | headius-more_jruby_tweaks | ||||
| * | Only allocate a single "view" bytelist, and update it as needed. | Charles Oliver Nutter | 2011-12-20 | 1 | -84/+87 |
| | | | | | | | | | | | | | | Conflicts: java/src/json/ext/Parser.java java/src/json/ext/Parser.rl | ||||
* | | Remove superflous comment | Florian Frank | 2011-12-21 | 1 | -2/+0 |
|/ | |||||
* | Support duck typed ruby array in JRuby as well | Florian Frank | 2011-12-20 | 1 | -8/+8 |
| | |||||
* | Support hash ducktype objects on JRuby as well | Florian Frank | 2011-12-20 | 1 | -32/+39 |
| | |||||
* | Only allocate a single ParserResult, and pass it along the stack.headius-jruby_perf_tweaks | Charles Oliver Nutter | 2011-12-20 | 1 | -100/+115 |
| | |||||
* | Better ByteList subsequence and break up some parse methods. | Charles Oliver Nutter | 2011-12-20 | 1 | -70/+92 |
| | |||||
* | Minor tweaks to Java ext for performance. | Charles Oliver Nutter | 2011-12-20 | 1 | -98/+104 |
| | | | | | | | * Avoid full newInstance logic if constructing normal Array or Hash * Skip intermediate RubyString for float and integer parsing * Avoid toString for comparison with "-Infinity" * Avoid repeated class.getName().equals() calls | ||||
* | Extract utils out of this library into json-utilsv1.6.0 | Florian Frank | 2011-09-13 | 1 | -80/+84 |
| | |||||
* | Merge branch 'quirks-mode-parser' into quirks-mode | Florian Frank | 2011-07-31 | 1 | -115/+386 |
|\ | | | | | | | | | | | | | | | | | Conflicts: java/src/json/ext/Parser.java java/src/json/ext/Parser.rl json.gemspec json_pure.gemspec tests/test_json.rb | ||||
| * | Implement quirks_mode | Florian Frank | 2011-07-31 | 1 | -93/+364 |
| | | | | | | | | This allows parsing of primitive values | ||||
* | | started quirks mode for generator | Florian Frank | 2011-07-27 | 1 | -37/+37 |
|/ | |||||
* | Ported fixes from fix_memory_leak into Parser.rl | Florian Frank | 2011-07-08 | 1 | -75/+86 |
| | | | | | Ported semantic of the desired behaviour in ruby-core:35079 to java as well. | ||||
* | Merge branch 'fix_memory_leak' of https://github.com/bigfix/json into ↵ | Florian Frank | 2011-07-04 | 1 | -7/+7 |
|\ | | | | | | | development | ||||
| * | Fix memory leak when used from multiple JRuby runtimes. | John Firebaugh | 2011-05-18 | 1 | -7/+7 |
| | | |||||
* | | Don't optimize calls for ducktypes | Florian Frank | 2011-05-12 | 1 | -25/+29 |
| | | |||||
* | | use []= method if objectClass isn't a Hash | Florian Frank | 2011-05-11 | 1 | -16/+20 |
|/ | |||||
* | renamed :match argument to :match_stringv1.5.0 | Florian Frank | 2011-01-05 | 1 | -5/+5 |
| | |||||
* | avoid object creation | Florian Frank | 2011-01-03 | 1 | -35/+33 |
| | |||||
* | implement string matching for java parser | Florian Frank | 2011-01-02 | 1 | -86/+114 |
| | |||||
* | started to build jruby extension with Rakefile | Florian Frank | 2010-09-23 | 1 | -0/+2269 |