Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      The default json library that ships with Python is slow, and couchbase makes extensive use of it. It would be ideal to be able to specify the json library used by couchbase, or have a bundled json library written in C.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        mnunberg Mark Nunberg added a comment -

        Are you talking about the views handling, or the encoding? For the former it is already possible to override it. For the latter it is not implemented but wouldn't be difficult to do.

        Show
        mnunberg Mark Nunberg added a comment - Are you talking about the views handling, or the encoding? For the former it is already possible to override it. For the latter it is not implemented but wouldn't be difficult to do.
        Hide
        wizzat Mark Roberts added a comment -

        Yes, I am referring to the encoding. Here's a sample that illustrates what I'm talking about. It spends about half the time in JSON encoding.

        Show
        wizzat Mark Roberts added a comment - Yes, I am referring to the encoding. Here's a sample that illustrates what I'm talking about. It spends about half the time in JSON encoding.
        Show
        mnunberg Mark Nunberg added a comment - http://pythonhosted.org//couchbase/api/convertfuncs.html#couchbase.set_json_converters Sorry, I meant the latter
        Hide
        wizzat Mark Roberts added a comment -

        Yesssss. I'm not sure how I missed this in the documentation or my perusal of the source. Thanks!

        Show
        wizzat Mark Roberts added a comment - Yesssss. I'm not sure how I missed this in the documentation or my perusal of the source. Thanks!

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            wizzat Mark Roberts
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes