Skip to content
Commits on May 20, 2011
  1. @stig

    Merge pull request #69 from tkarpinski/master

    add __weak to @property definition for state object to address build error when supporting gc
    stig committed May 19, 2011
Commits on May 19, 2011
  1. add __weak to @property definition for state object to address build …

    …error when supporting gc
    Tod Karpinski committed May 19, 2011
  2. @stig
  3. @stig

    Use a separate SBStateStack object to eek out a few percent of

    performance on samsoffes' benchmark. I planned to use NSPointerArray,
    but this is not available on iOS.
    stig committed May 19, 2011
Commits on May 18, 2011
  1. @stig

    Rename method from -state to -sharedInstance to make it clear we are …

    …dealing with a singleton
    stig committed May 19, 2011
  2. @stig

    Updating / accessing the state property on the stream parser & writer…

    …s is clearly a key area of performance. Switching to use non-atomic and assign for these properties improved performance by 15-20 percent for both parsing and writing.
    stig committed May 19, 2011
  3. @stig

    Making the string cache static, rather than per instance, gives a

    quite good speedup. Given we now use NSCache rather than
    NSMutableDictionary for the string cache this should be safe.
    stig committed May 18, 2011
  4. @stig
  5. @stig
  6. @stig

    The recent refactoring has made the performance drop through the

    floor. This patch is the first in a series to regain what was lost.
    This sees us go from 47ms to 30ms on samsoffes' performance test.
    stig committed May 18, 2011
  7. @stig
Commits on May 17, 2011
  1. @stig
  2. @stig

    Rewrite SBJsonTokeniser.

    This version does not do the ugly hackery to keep the utf8 stream NUL-terminated. It has less duplication of logic since it does the parsing and decoding of strings and numbers in one pass now, rather than as two separate passes. I've not measured performance, but this should in theory be faster. (And even if it isn't it's worth it for the massive cleanup.)
    stig committed May 17, 2011
  3. @stig

    Tidy one of the tests a little

    stig committed May 17, 2011
Commits on May 16, 2011
  1. @stig
Commits on May 14, 2011
  1. @stig

    Remove the ugly malloc/realloc of the C-style state array in both the…

    … stream parser and stream writer.
    stig committed May 13, 2011
Commits on May 12, 2011
  1. @stig

    Merge pull request #67 from robin/master

    Fix #67 - memory leak in SBJsonStreamWriter
    stig committed May 12, 2011
  2. @stig

    Remove redundant testing of internal objects.

    These were useful during development, before we got so far that we
    could implement the parser/writerin terms of the new stream-based
    objects, but are now more of a roadblock for refactoring.
    stig committed May 12, 2011
  3. @robin

    fix potential memory leak

    robin committed May 12, 2011
Commits on May 10, 2011
  1. @stig

    Copyright

    stig committed May 10, 2011
  2. @stig

    Changes

    stig committed May 10, 2011
  3. @stig
  4. @stig

    Rename test to be more suitable

    stig committed May 10, 2011
  5. @stig

    JSONChecker tests converted. It turns out that there was a bug in the…

    … old test driver that caused the fail* part of this suite to be skipped. Further, it turns out that json-framework failed 3 of these tests. This has been fixed.
    stig committed May 10, 2011
Commits on May 9, 2011
  1. @stig

    Formatting tests converted.

    stig committed May 10, 2011
  2. @stig

    Renamed test

    stig committed May 10, 2011
  3. @stig

    Updated unicode test. This is split into multiple files because dicti…

    …onaries do not have sorted keys.
    stig committed May 10, 2011
  4. @stig
  5. @stig
  6. @stig

    fix copyrights

    stig committed May 10, 2011
  7. @stig

    Remove debugging output from parser

    stig committed May 10, 2011
  8. @stig

    Use accumulator object for the writer as well, to avoid superfluous d…

    …ata attribute on the writer
    stig committed May 10, 2011
  9. @stig
  10. @stig

    I don't like the JsonParser being a delegate of the JsonStreamParser,…

    … so introduce an accumulator object
    stig committed May 10, 2011
Commits on May 8, 2011
  1. @stig
Something went wrong with that request. Please try again.