]> git.evergreen-ils.org Git - OpenSRF.git/commit
1. Added an osrfHashIterator as a member of osrfRouter, so that
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 4 Nov 2009 16:32:10 +0000 (16:32 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 4 Nov 2009 16:32:10 +0000 (16:32 +0000)
commit3f720eb838c8b3c21a8c14edecf6400259a736bb
tree1720aeab67ad26920c6495137852fceba6d4f1f1
parent6fbbc83de06da51499ae49000ddd6d72002fb1e8
1. Added an osrfHashIterator as a member of osrfRouter, so that
we can reuse it when repeatedly traversing the list of classes.
This way we don't have to create and destroy an osrfHashIterator
on every iteration.

2. In osrfRouterRun(): eliminated a pointless hash look up in the
innermost loop.

M    src/router/osrf_router.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1841 9efc2488-bf62-4759-914b-345cdb29e865
src/router/osrf_router.c