debug.library: improve performance of un-registering segments
commita26bec34abbb05abeeb6049cefd30b4347e6e604
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 3 May 2014 18:18:27 +0000 (3 18:18 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 3 May 2014 18:18:27 +0000 (3 18:18 +0000)
treea6bc1e991260ce4bffb5906dd5b08de6e16fd763
parentc854a135c3e9e69e044bc50ffd0457f566fb3cf1
debug.library: improve performance of un-registering segments

Decrease the number of linear searches through the list of module by
assuming most segments will follow DOS segment order.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48980 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/debug/unregistermodule.c