1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00
transmission/tests
Charles Kerr c0ed82533c
perf: lookup tables for faster torrent searching. (#1778)
* perf: lookup tables for faster torrent searching.

tr_torrentFindFromId(), tr_torrentFindFromHashString(), and
tr_torrentFindFromHash() are now O(log N) instead of O(N) where
N is the number of torrents.

* build: fix clang-tidy warning

error: integer to pointer cast pessimizes optimization opportunities
[performance-no-int-to-ptr,-warnings-as-errors] from TR_BAD_SYS_FILE
which expands to INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1)
2021-09-09 00:22:29 -05:00
..
gtest Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
libtransmission perf: lookup tables for faster torrent searching. (#1778) 2021-09-09 00:22:29 -05:00
CMakeLists.txt Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00