Staging
v0.8.1
v0.8.1
Revision 5cbd8331ff567ee568713dc5e63820ffb453ac4b authored by Raymond Hettinger on 22 May 2015, 07:41:57 UTC, committed by Raymond Hettinger on 22 May 2015, 07:41:57 UTC
Replaces the PyList_GET_ITEM and PyList_SET_ITEM macros with normal array accesses. Replace the siftup unpredicatable branch with arithmetic. Replace the rc == -1 tests with rc < 0. Gives nicer looking assembly with both Clang and GCC-4.9. Also gives a small performance both for both.
1 parent 35e24a5
File | Mode | Size |
---|---|---|
cache.c | -rw-r--r-- | 12.2 KB |
cache.h | -rw-r--r-- | 2.3 KB |
connection.c | -rw-r--r-- | 49.8 KB |
connection.h | -rw-r--r-- | 4.7 KB |
cursor.c | -rw-r--r-- | 34.4 KB |
cursor.h | -rw-r--r-- | 2.5 KB |
microprotocols.c | -rw-r--r-- | 4.3 KB |
microprotocols.h | -rw-r--r-- | 2.1 KB |
module.c | -rw-r--r-- | 15.1 KB |
module.h | -rw-r--r-- | 1.9 KB |
prepare_protocol.c | -rw-r--r-- | 4.3 KB |
prepare_protocol.h | -rw-r--r-- | 1.5 KB |
row.c | -rw-r--r-- | 9.3 KB |
row.h | -rw-r--r-- | 1.2 KB |
statement.c | -rw-r--r-- | 17.1 KB |
statement.h | -rw-r--r-- | 2.1 KB |
util.c | -rw-r--r-- | 5.1 KB |
util.h | -rw-r--r-- | 1.5 KB |
Computing file changes ...