You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2020/03/25 13:30:00 UTC
[jira] [Assigned] (SLING-9247) Improve Performance Of Testing
Ignored GET Parameters
[ https://issues.apache.org/jira/browse/SLING-9247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu reassigned SLING-9247:
--------------------------------------
Assignee: Robert Munteanu
> Improve Performance Of Testing Ignored GET Parameters
> -----------------------------------------------------
>
> Key: SLING-9247
> URL: https://issues.apache.org/jira/browse/SLING-9247
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: Dynamic Include 3.1.6
> Reporter: Yegor Kozlov
> Assignee: Robert Munteanu
> Priority: Minor
> Fix For: Dynamic Include 3.2.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> This is a follow-up on SLING-9045
> _org.apache.sling.dynamicinclude.Configuration_ loads the list of ignored GET parameters into a _java.util.List_ which is further checked from _IncludeTagFilter_ via _List#contains_
> Calling _List#contains_ in a loop is kind of a smell. I believe _java.util.Set_ will be a more appropriate container with fixed O(1) cost of _contains()_.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)