1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-12 16:00:06 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
erdgeist
56c1cf1b5d Nicer formatting for value-- 2009-08-26 21:23:53 +00:00
erdgeist
c3a58d248b binary search speedup was buggy. 2009-08-26 21:12:32 +00:00
erdgeist
0c8a17cbef Optimize binary_search function 2009-08-26 17:44:03 +00:00
erdgeist
66c906d5d3 Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT 2009-01-15 23:01:36 +00:00
erdgeist
4ced0484ab Some premature optimization lead to always only 8bytes of ot_peers being copied 2009-01-15 22:10:54 +00:00
erdgeist
131211b4da V6 2009-01-13 22:41:17 +00:00
erdgeist
38c073e6dd minor white space 2009-01-01 17:49:50 +00:00
erdgeist
a9ab9b0c0d Make all torrents in their buckets sorted again. 2008-12-08 02:23:21 +00:00
erdgeist
08c7162783 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read
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-06 18:46:00 +00:00
erdgeist
258cae746f Forgot one define READ32 2008-12-06 00:40:36 +00:00
erdgeist
5fb58458f6 Tidy up unnecessary includes 2008-12-05 21:28:40 +00:00
erdgeist
08d9c342d4 Add specialized vector functions to handle peers in sorted lists
Assume that compare_size is a mulptiple of 4 in all non-specialized cases and load int32_t to compare.
2008-12-05 20:36:00 +00:00
erdgeist
334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 2008-11-28 22:21:10 +00:00
erdgeist
3f5468672b Never let vectors shrink below their minimal capacity 2008-11-03 01:28:10 +00:00
erdgeist
daaee855b2 Whitespace fixes 2008-10-28 01:27:22 +00:00
erdgeist
cbd39af72d Add code to debug vector code performance. 2008-10-23 23:58:18 +00:00
erdgeist
c28cf398fd Introduce some kind of versioning 2007-12-20 05:59:34 +00:00
erdgeist
848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 2007-12-03 01:07:41 +00:00
erdgeist
8900cc0dd9 No 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 and not considered stable. 2007-11-06 11:58:32 +00:00