Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-833

Use Takanori Ishikawa's JS SHA1 implementation which doesn't pollute the global namespace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • None
    • None
    • Futon
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      The current implementation by Paj is slow and pollutes the global namespace with variables and functions. This implementation only exports the SHA1 module and also happens to be up to 3 times faster as an added bonus. See http://bit.ly/9wjjRG for benchmarks.

      Attachments

        1. better_js_sha1.patch
          21 kB
          Devin Torres
        2. better_js_sha1.patch
          22 kB
          Devin Torres

        Activity

          People

            Unassigned Unassigned
            devinus Devin Torres
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified