You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2015/02/09 06:58:35 UTC
[lucy-issues] [jira] [Commented] (LUCY-274) Refcounting needs to use functions
rather than methods
[ https://issues.apache.org/jira/browse/LUCY-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311835#comment-14311835 ]
Marvin Humphrey commented on LUCY-274:
--------------------------------------
Eliminating method overriding of refcounting for RawPosting means that we now have problems with its destructor being called. The best solution seems to be to make the destructor a no-op, though it's a little dangerous because we won't have the destructor as a fail-safe anymore if we screw up. Long-term, this might get solved by refactoring Analyzer to use streams rather than arrays of RawPostings.
> Refcounting needs to use functions rather than methods
> ------------------------------------------------------
>
> Key: LUCY-274
> URL: https://issues.apache.org/jira/browse/LUCY-274
> Project: Lucy
> Issue Type: Improvement
> Components: Index, Test, Util
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
>
> As of CLOWNFISH-27, refcounting is no longer overrideable. Lucy needs to use the new API and to eliminate the overriding of refcount manipulation methods for RawPosting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)