Most efficient way to include other attributes verbatim in scripted attributes

Cantor, Scott cantor.2 at osu.edu
Thu Nov 21 11:51:27 EST 2019


On 11/21/19, 11:07 AM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:

> Thanks, Scott. Yes, I know I could use the metrics to time things, but I was hoping for some insight into the code
> behind a mapped attribute definition. I guess I could go snoop in the code, myself. Just wondered if that code was
> more efficient than just a for loop iterating over each value and doing a regex compare.

Well, one is in Java, and one is more scripting, so I think as a rule it will be faster to do the Java. The regexes in Java also usually get compiled once and then reused.

-- Scott




More information about the users mailing list