commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (LANG-1177) Improve indexOf performance when called multiple times
Date Sat, 26 Oct 2019 18:59:00 GMT


ASF GitHub Bot logged work on LANG-1177:

                Author: ASF GitHub Bot
            Created on: 26/Oct/19 18:58
            Start Date: 26/Oct/19 18:58
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on issue #471: [LANG-1177] Added indexesOf methods
and simplified removeAllOccurences
   [![Coverage Status](](
   Coverage increased (+0.006%) to 95.369% when pulling **67ef394c1a0ff0f2d87445516a7ef9669d46b406
on lielfr:lang-1177** into **54afdb303535a62fe00e49e3ad5100ca9fc55d1e on apache:master**.
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 334565)
    Time Spent: 2h 20m  (was: 2h 10m)

> Improve indexOf performance when called multiple times
> ------------------------------------------------------
>                 Key: LANG-1177
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Major
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
> The indexOf methods search for a single entry in an array.
> This works fine when only the first matching entry is needed, however it is not so efficient
when all matches are needed (because of the setup/teardown overheads).
> It might be useful to introduce an indexesOf method that returns a BitSet containing
all the matches.
> This can then be used in the removeAllOccurrences methods.

This message was sent by Atlassian Jira

View raw message