History log of /lighttpd1.4/src/t/test_array.c (Results 1 – 9 of 9)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69, lighttpd-1.4.68, lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65, lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62
# bab0e5d0 15-Nov-2021 Glenn Strauss <[email protected]>

[tests] combine tests into test_common.c

combine common components tests into test_common.c

combine into a single executable to reduce compilation/link redundancy


Revision tags: lighttpd-1.4.61, lighttpd-1.4.60, lighttpd-1.4.59, lighttpd-1.4.58, lighttpd-1.4.57, lighttpd-1.4.56, lighttpd-1.4.56-rc7, lighttpd-1.4.56-rc6, lighttpd-1.4.56-rc5, lighttpd-1.4.56-rc4, lighttpd-1.4.56-rc3, lighttpd-1.4.56-rc2, lighttpd-1.4.56-rc1, lighttpd-1.4.55
# 17e0b6fe 22-Jan-2020 Glenn Strauss <[email protected]>

[tests] use buffer_eq_slen() for str comparison

(substitute buffer_eq_slen() for buffer_is_equal_string())


# 24680a91 22-Nov-2019 Glenn Strauss <[email protected]>

[core] array_init() arg for initial size


# 601c572c 13-Oct-2019 Glenn Strauss <[email protected]>

[core] inline buffer as part of data_string value

(instead of value being (buffer *))


# ad9b7e00 13-Oct-2019 Glenn Strauss <[email protected]>

[core] inline buffer as part of DATA_UNSET key

(instead of key being (buffer *))


# b2991c68 02-Oct-2019 Glenn Strauss <[email protected]>

[core] perf: array.c performance enhancements

mark array_get_index() as hot, rewrite to be pure and return sorted pos

mark routines as pure, as appropriate

mark routines as cold if used only at st

[core] perf: array.c performance enhancements

mark array_get_index() as hot, rewrite to be pure and return sorted pos

mark routines as pure, as appropriate

mark routines as cold if used only at startup for config processing

mark params const, as appropriate

array_get_buf_ptr() for modifiable value buffer after insert into array

uint32_t used and size members instead of size_t

remove a->unique_ndx member; simply add to end of array for value lists
remove du->is_index_key member; simply check buffer_is_empty(du->key)

array_insert_key_value() used to be a hint that lookup could be skipped,
but the state from array_get_index() is now saved and reused internally,
so the distinction is no longer needed. Use array_set_key_value().

show more ...


Revision tags: lighttpd-1.4.54, lighttpd-1.4.53, lighttpd-1.4.52, lighttpd-1.4.51
# c98d89a4 23-Sep-2018 Glenn Strauss <[email protected]>

[tests] #undef NDEBUG before assert.h in t/test_*


# 002a4c52 23-Sep-2018 Glenn Strauss <[email protected]>

[core] array_get_int_ptr()


# 66ff05db 22-Sep-2018 Glenn Strauss <[email protected]>

[tests] t/test_array.c

(more tests should be added, but starting with something has benefits)