hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCORE-248) HttpRoute.equals(Object o) is quite inefficient, as it does not take full advantage of shortcut logic
Date Fri, 10 Dec 2010 13:32:01 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated HTTPCORE-248:
--------------------------

    Attachment: HTTPCORE-248.patch

> HttpRoute.equals(Object o) is quite inefficient, as it does not take full advantage of
shortcut logic
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-248
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-248
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.1
>            Reporter: Sebb
>         Attachments: HTTPCORE-248.patch
>
>
> HttpRoute.equals(Object o) is quite inefficient, as it does not take full advantage of
shortcut logic.
> It should return as soon as the first  false is detected.
> Patch to follow implements short-circuit checking.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message