2 ms·
I mean, it hasn't grown to a thousand entries, but https://github.com/openssl/openssl/blob/master/crypto/http/http_lib.c#L96 https://github.com/openssl/openssl/
by shadowgovt 5y ago
I mean, it hasn't grown to a thousand entries, but https://github.com/openssl/openssl/blob/master/crypto/http/http_lib.c#L96 https://github.com/openssl/openssl/blob/master/crypto/http/h...
There's also the parameter parser builder at https://github.com/openssl/openssl/blob/master/crypto/param_build.c#L160 https://github.com/openssl/openssl/blob/master/crypto/param_...
This kind of pattern of repeated application instead of iterating over a data structure ends up fairly common in any code base I've ever seen, public or private. The machinery to build a list loader and iterator always just seems like more code than one wants to write when one is tasked with adding one more element to the existing sequence of homogeneous operations varying the data.