jpountz commented on a change in pull request #91: URL: https://github.com/apache/lucene/pull/91#discussion_r630299581
########## File path: lucene/core/src/java/org/apache/lucene/codecs/MutablePointValues.java ########## @@ -41,4 +41,10 @@ protected MutablePointValues() {} /** Swap the i-th and j-th values. */ public abstract void swap(int i, int j); + + /** Assign the from-th value to to-th position in another array which used temporarily. */ + public abstract void assign(int from, int to); + + /** Finalize assign operation, to switch array. */ + public abstract void finalizeAssign(int from, int to); Review comment: This sounds good to me, thanks for looking into this! -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org