summaryrefslogtreecommitdiff
path: root/ot_vector.c
AgeCommit message (Collapse)Author
2009-01-13V6erdgeist
2009-01-01minor white spaceerdgeist
2008-12-08Make all torrents in their buckets sorted again.erdgeist
2008-12-06Renamed OT_FLAG to OT_PEERFLAG to make code easier to readerdgeist
Introduced READ16/32 and WRITE16/32 makros to abstract loading/storing from unaligned addresses away on cpu's that can actually load/store everywhere Removed all unnecessary memmoves, especially where it only moved 6 bytes in inner loop. I replaced them with WRITE16/32(READ16/32()) makros
2008-12-06Forgot one define READ32erdgeist
2008-12-05Tidy up unnecessary includeserdgeist
2008-12-05Add specialized vector functions to handle peers in sorted listserdgeist
Assume that compare_size is a mulptiple of 4 in all non-specialized cases and load int32_t to compare.
2008-11-28The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.erdgeist
2008-11-03Never let vectors shrink below their minimal capacityerdgeist
2008-10-28Whitespace fixeserdgeist
2008-10-23Add code to debug vector code performance.erdgeist
2007-12-20Introduce some kind of versioningerdgeist
2007-12-03Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includeserdgeist
2007-11-06No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested ↵erdgeist
and not considered stable.