lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Garski (JIRA)" <>
Subject [jira] Commented: (LUCENENET-218) Lucene.Net.Util.TestAttributeSource.TestCloneAttributes
Date Tue, 10 Nov 2009 05:31:32 GMT


Michael Garski commented on LUCENENET-218:

I considered using a plain List<T>, but items are keyed in the map using an instance
of System.Type.

Another approach would be to use List<T>, but make T be a private composite class consisting
of the key and the value.  In this way the List could be iterated over (or queried with LINQ
in a future release).  This would certainly be faster to implement, but as you mentioned it
would come at a cost of performance.

I'll go the route of the simplest implementation at the known cost of performance, which can
be tuned later once everything is working.

> Lucene.Net.Util.TestAttributeSource.TestCloneAttributes
> -------------------------------------------------------
>                 Key: LUCENENET-218
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Michael Garski
> The test is failing - I'm working on it :)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message