commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COLLECTIONS-398) BoundedFifoBuffer could be simplified by keeping a count of the number of entries
Date Fri, 27 Nov 2015 21:48:12 GMT

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

Thomas Neidhart closed COLLECTIONS-398.
---------------------------------------

> BoundedFifoBuffer could be simplified by keeping a count of the number of entries
> ---------------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-398
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-398
>             Project: Commons Collections
>          Issue Type: Improvement
>            Reporter: Sebb
>         Attachments: COLLECTIONS-398-2.patch, COLLECTIONS-398.patch
>
>
> BoundedFifoBuffer could be much simplified by keeping a count of the number of entries,
and dropping the boolean full.
> This would speed up size() and isEmpty() and isFull().



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

Mime
View raw message