uschindler edited a comment on pull request #18: URL: https://github.com/apache/lucene/pull/18#issuecomment-800065901
Another idea: We can remove the Methodhandles with the crazy try-catch block, if we'd define a static functional interface in this class, that is implemented by VectorUtil itsself, but also by the base64-encoded class. I am not sure if it's woth the trouble, as it makes regenerating the base64 harder, but then we only need the Loader and use `.asSubClass(DotProductInterface.class)`. ---------------------------------------------------------------- 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