]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
hoist "id" into the array
authorAlan T. DeKok <aland@freeradius.org>
Tue, 22 Jul 2025 11:40:02 +0000 (13:40 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 22 Jul 2025 11:40:02 +0000 (13:40 +0200)
commit9987442d0e9df1e773ce57f50213821d5d0c681e
treeccf302fc3b5cfe2a527f9cc987abd71419aa3464
parentb4a19c019d6463483c381fb738c047a6e1d58a34
hoist "id" into the array

so that we have better locality of reference for the O(N^2)
loop for consistent keyed balance.  For other situations, it
increases the memory usage slightly, but doesn't have a large
effect on other use-cases
src/include/realms.h
src/main/process.c
src/main/realms.c
src/modules/rlm_realm/rlm_realm.c