You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/09/05 12:43:28 UTC

[jira] [Resolved] (DIRMINA-949) Fixed IoBuffer.Pointer.setPosition to work in O(1) instead of O(n) in the common case

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

Emmanuel Lecharny resolved DIRMINA-949.
---------------------------------------
    Resolution: Fixed

Fixed

> Fixed IoBuffer.Pointer.setPosition to work in O(1) instead of O(n) in the common case
> -------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-949
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-949
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 3.0.0-M1
>            Reporter: Esko Luontola
>             Fix For: 3.0.0-trunk
>
>
> IoBuffer.Pointer.setPosition used to always iterate through the singly linked list starting from the very beginning. There's a fix and a test to reproduce the issue at https://github.com/apache/mina/pull/3
> There are also some other small refactorings and javadoc fixes (that IntelliJ IDEA's static analysis found - you should try running it also for the rest of the project).
> P.S: org.apache.mina.codec.IoBuffer#mark is broken. I'll file another issue for that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)