Change url_code_map[] from an array of pointers to an array of arrays
authorFabian Keil <fk@fabiankeil.de>
Sun, 6 Nov 2011 11:51:57 +0000 (11:51 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 6 Nov 2011 11:51:57 +0000 (11:51 +0000)
commitf8cf51260d1cf5afa46a8289924156acd2db67c2
treebb99446eaa0ce342006ab5f55c0aa25e38102d56
parent36acaceaae9b0e88caf892ffd2751e53108ebff5
Change url_code_map[] from an array of pointers to an array of arrays

It removes an unnecessary layer of indirection and on
my 64bit system reduces the size of the binary by 2k.

At least in theory it should be more cache-efficient as well
but given that this is not a hot code path I couldn't be
bothered to run micro benchmarks.
encode.c