Git fork

Merge branch 'kz/revindex-comment-fix'

Header comment fix.

* kz/revindex-comment-fix:
pack-revindex.h: correct the time complexity descriptions

+2 -2
+2 -2
pack-revindex.h
··· 109 109 * If the reverse index has not yet been loaded, or the position is out of 110 110 * bounds, this function aborts. 111 111 * 112 - * This function runs in time O(log N) with the number of objects in the MIDX. 112 + * This function runs in constant time. 113 113 */ 114 114 uint32_t pack_pos_to_midx(struct multi_pack_index *m, uint32_t pos); 115 115 ··· 120 120 * If the reverse index has not yet been loaded, or the position is out of 121 121 * bounds, this function aborts. 122 122 * 123 - * This function runs in constant time. 123 + * This function runs in time O(log N) with the number of objects in the MIDX. 124 124 */ 125 125 int midx_to_pack_pos(struct multi_pack_index *midx, uint32_t at, uint32_t *pos); 126 126