RFR: 8314502: Change the comparator taking version of GrowableArray::find to be a template method [v4]

Afshin Zafari azafari at openjdk.org
Thu Sep 7 07:06:43 UTC 2023


On Tue, 29 Aug 2023 07:04:15 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Also, why isn't this change also being applied to `find_from_end`
>
> There can be a confusion related to selection of type names T and E:
>   T is intuitively treated as a table and E as an element.
> No pressure but I wonder if using D instead of T would be better.

> Also, why isn't this change also being applied to `find_from_end`

Thank you @kimbarrett, the function is also changed accordingly.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15418#discussion_r1318170737


More information about the serviceability-dev mailing list