couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1124) Refactor couch_btree.erl
Date Fri, 15 Apr 2011 23:26:06 GMT
Refactor couch_btree.erl

                 Key: COUCHDB-1124
             Project: CouchDB
          Issue Type: Improvement
            Reporter: Paul Joseph Davis
         Attachments: 0001-Refactor-couch_btree.erl.patch

I've completely refactored couch_btree.erl in an attempt to make it more palatable for people
that want to learn it. The current version is quite organic in its nature and this cleans
up the code to be more consumable. Most everyone that's seen this patch has wanted it in trunk
but I never got around to committing it.

The patch I'm about to attach is quite gnarly as it's basically deleting and recreating the
entire file. I find it quite a bit more helpful to read the end result which you can do at

Also, if we do commit this then the code in COUCHDB-1084 will be quite broken for the btree
section. If that patch still applies cleanly to the other files I'm going to try and update
the btree code for it tonight.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message