On 6/11/08, Arjan van de Ven <arjan@infradead.org> wrote:
Would it be overkill to simply drop the module addresses in an rbtree
and use that instead of a linear search over all the modules?
It would probably take a fair number of lines in C, and with a little
memory overhead, but the speed-up should be great. Should I give it a
try? (It would be arch-independent too.)
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--