ovalhub commented on issue #10665:
URL: https://github.com/apache/lucene/issues/10665#issuecomment-1297370722

   
   On Mon, 31 Oct 2022, Benjamin Trent wrote:
   
   > I tested PyLucene locally, comparing it to @msokolov's "batch" methodology 
   > (writing to disk and spinning up a Java process). PyLucene provided faster 
   > numbers in both Batch and iterative on my m1 mac. This indicates that the 
   > overhead experienced is acceptable for now.
   >
   > There are improvements we can make to PyLucene (native numpy support is a 
   > big one). But, it seems prudent to get measurements recorded in 
   > ann-benchmarks and iteratively improve our python over time :).
   
   What do you mean with "native numpy" ? Are you under the impression that 
   PyLucene is a Python implementation of Lucene ? It's not. It's an 
   auto-generated CPython wrapper around an auto-generated C++ wrapper 
   that calls Java Lucene via JNI and that embeds a Java VM into a Python VM. 
   PyLucene _is_ Java Lucene, unchanged, embedded in a Python VM.
   
   Andi..
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

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

Reply via email to