/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/status.txt

  • Committer: John Arbash Meinel
  • Date: 2009-10-13 16:44:43 UTC
  • mto: This revision was merged to the branch mainline in revision 4741.
  • Revision ID: john@arbash-meinel.com-20091013164443-b92lnyiir2ucyguj
Stop using hash() because of bugs wrt pyrex 0.9.8.5

Rather than going directly to the Py_TYPE() object, I also use PyObject_Hash()
everywhere now. This simplifies the code a little bit, as I can declare it
returns -1 as an exception, rather than having to manually check the return
value.

What is really strange is that pyrex 0.9.7.2 gets it right, strange
regression to have. cython 0.11.3 also gets it right, but I don't know
that all versions of cython handle it correctly, either.


The main problem is that we are mixing, and then comparing
'other_hash = this_hash'. If we always used the 32-bit form, we would
be okay for our purposes, or always use the 64-bit form. I'm focusing
on the latter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
   our hash cache from the dirstate allows us to avoid reading the file in the
55
55
   common case. There are alternative ways to achieve this - we could record
56
56
   a pointer to a revision which contained this fileid with the current content
57
 
   rather than storing the content's hash; but this seems to be a pointless
 
57
   rather than storing the content's hash; but this seems to be a pointless 
58
58
   double-indirection unless we save enough storage in the working tree. A
59
59
   variation of this is to not record an explicit pointer but instead
60
60
   define an implicit pointer as being to the left-hand-parent tree.
92
92
  difference for the top level of the selected path) then we can gain a
93
93
  larger win. This strongly suggests that path expansion and tree
94
94
  difference generation should be linked in terms of API.
95
 
 
 
95
 
96
96
 
97
97
 
98
98
..