Age | Commit message (Collapse) | Author |
|
Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate.
svn:r13665
|
|
From little acorns: redo our string and digest hashing code to be faster, since this stuff may be critical-path.
svn:r11700
|
|
Split over-optimized digestmap_set code into a generic part and a digestmap-specific part.
svn:r11012
|
|
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere.
svn:r10645
|
|
Optimize digestmap_set, since it sometimes shows up in profiles. Seems to work so far, but it isnt the prettiest thing ever.
svn:r10312
|
|
Fix build on gcc 4.2
svn:r10212
|
|
Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const.
svn:r10208
|
|
Change HT_INIT from a special-case to a macro-calling-a-function like the rest of ht.h. This might prevent errors if somebody did, I dunno, "HT_INIT(tp, hashtable++)". Based on a patch from Watson Ladd.
svn:r8776
|
|
svn:r8499
|
|
svn:r6925
|
|
svn:r6924
|
|
svn:r6401
|
|
ht.h. Resolves bug 270; maybe sun C will work now.
svn:r6153
|
|
This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories.
svn:r5586
|
|
svn:r5585
|
|
intended.
svn:r5582
|
|
svn:r5458
|
|
significantly faster.
svn:r5441
|