[JIRA] (JSSH-30) Consider removing the LazyMap/Set/List

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Thu May 4 13:00:37 UTC 2023


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on JSSH-30 ( https://shibboleth.atlassian.net/browse/JSSH-30?atlOrigin=eyJpIjoiNmRmNzRiMzMwMjk5NGZhMWE5OWZjMThlMWU3NTM4Y2YiLCJwIjoiaiJ9 )

Re: Consider removing the LazyMap/Set/List ( https://shibboleth.atlassian.net/browse/JSSH-30?atlOrigin=eyJpIjoiNmRmNzRiMzMwMjk5NGZhMWE5OWZjMThlMWU3NTM4Y2YiLCJwIjoiaiJ9 )

> 
> 
> 
> Particularly in the OpenSAML XML objects?
> 
> 

Indeed - metadata back in the old aggregate days.

> 
> 
> 
> some measurement was originally done to justify it
> 
> 

I’m pretty sure there was.

> 
> 
> 
> , most of which are empty and some grow later
> 
> 

Yea, the ArrayList.add code deals with *exactly* this case these days. I’m not sure what it does for singleton and doubles,,,

( https://shibboleth.atlassian.net/browse/JSSH-30#add-comment?atlOrigin=eyJpIjoiNmRmNzRiMzMwMjk5NGZhMWE5OWZjMThlMWU3NTM4Y2YiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSSH-30#add-comment?atlOrigin=eyJpIjoiNmRmNzRiMzMwMjk5NGZhMWE5OWZjMThlMWU3NTM4Y2YiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:f83bc8f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230504/1e73c26c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-c58f16ee-5eab-437d-8981-ea4f50408d4d
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230504/1e73c26c/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-b6f3d4d9-39d0-48e8-abae-7392944ef8a7
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230504/1e73c26c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-c1dbc69f-c9f4-4928-9087-fc90e7c46b9b
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230504/1e73c26c/attachment-0005.png>


More information about the commits mailing list