[ZODB-Dev] [ zodb-Patches-668714 ] Fix OID packing/unpacking bottleneck

SourceForge.net noreply@sourceforge.net
Wed, 15 Jan 2003 12:33:26 -0800


Patches item #668714, was opened at 2003-01-15 12:33
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=315628&aid=668714&group_id=15628

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix OID packing/unpacking bottleneck

Initial Comment:
The OID-packing functions in ZODB/utils.py are a
noticeably performance bottleneck.  This patch rewrites
them in C to speed things up.

Details:
  * adds ZODB/oidutils.h to define C macros for OID
packing/unpacking
  * adds ZODB/oidutils.c (aka the ZODB.oidutils
extension module) to
    expose Python wrappers for those C macros
  * eliminate most of the code in ZODB/utils.h, and
replace it with
    imports from ZODB.oidutils


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=315628&aid=668714&group_id=15628