]> git.evergreen-ils.org Git - Evergreen.git/commit
This update further streamlines the function osrfAppInitialize().
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 11 Jan 2009 15:40:59 +0000 (15:40 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 11 Jan 2009 15:40:59 +0000 (15:40 +0000)
commit05b47f10c24a93869ece04dd162d02bb6790182f
treedc9f44ed3c1ef63cbce1814a8551bacfa56edca7
parent7aec5bbb06371f98b18a0bb73e52373be43a26f7
This update further streamlines the function osrfAppInitialize().

1. Turn the osrfStringArray global_methods into an ordinary static
array of const pointers.

2. Move several osrfHash lookups out of the inner loop, since the
osrfHash in question is a loop invariant.

3. Eliminate the calls to strdup() associated with the variable
tmp_method (along with the corresponding free()).

git-svn-id: svn://svn.open-ils.org/ILS/trunk@11793 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_cstore.c