Most efficient way to include other attributes verbatim in scripted attributes

Wessel, Keith kwessel at illinois.edu
Thu Nov 21 12:26:03 EST 2019


Makes sense. Thanks very much.

Keith


-----Original Message-----
From: users <users-bounces at shibboleth.net> On Behalf Of Cantor, Scott
Sent: Thursday, November 21, 2019 10:51 AM
To: Shib Users <users at shibboleth.net>
Subject: Re: Most efficient way to include other attributes verbatim in scripted attributes

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


--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list