~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to _groupcompress_c.pyx

  • Committer: John Arbash Meinel
  • Date: 2009-02-28 04:43:47 UTC
  • mto: (0.23.23 groupcompress_rabin)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090228044347-vjb5fzj5s9cd8a7c
Create a wrapper function, so that lsprof will properly attribute time spent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
#         free(val[0])
76
76
#         val[0] = NULL
77
77
 
 
78
def make_delta_index(source):
 
79
    return DeltaIndex(source)
 
80
 
 
81
 
78
82
cdef class DeltaIndex:
79
83
 
80
84
    cdef object _source
89
93
    def __init__(self, source):
90
94
        self._source = None
91
95
        self._index = NULL
92
 
 
93
96
        self._create_delta_index(source)
94
97
 
95
98
    def _create_delta_index(self, source):