lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhershko <>
Subject [GitHub] lucenenet pull request: Fix on the PQ.
Date Tue, 10 Feb 2015 19:22:43 GMT
Github user synhershko commented on the pull request:
    @guidotag this is mainly why I haven't pulled this in yet. I wasn't the one to bring this
PQ implementation in so I wanted to review this carefully and haven't got the time to do that
just yet.
    Take a look here:
    This is another usage of the same PQ - it basically relies on `T` implementing `IComparable`
- so while what you are suggesting is true, it is probably way more trickier than you think.
    The right plan of attack here is to switch to using `IComparer<T>` (passed via a
mandatory ctor param)
    As a side-note, I'd very much like to verify this PQ implementation. I don't believe we
have tests for it, and since its going to be quite central I want to validate its correctness,
performance and thread-safety guarantees. Worth looking up in the history who brought it in
and take it from there /cc @paulirwin 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message