lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] eladmarg commented on issue #346: Remove Debugging.AssertsEnabled
Date Wed, 23 Sep 2020 08:58:18 GMT

eladmarg commented on issue #346:

   I understand its complicated, truly I am.
   but why should we stick to the java bad pattern implementation?
   who cares, seriously. 
   we all want highly performant search library, and for production use, I really don't want/need
overhead debug assertions.
   10% performance penalty isn't wroth to be java compliance 
   in this case I strongly feels that move this to #IF TESTING is better option, 
   you still have the whole functionality, you can run all the tests in release/debug and
get the same behavior.
   for production use, we'll compile this without and get the best from both worlds.

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:

View raw message