lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] NightOwl888 opened a new pull request #331: Lucene.Net.Diagnostics: Added Assert overload for passing message as string instead of Func<string>
Date Wed, 26 Aug 2020 04:24:06 GMT

NightOwl888 opened a new pull request #331:
URL: https://github.com/apache/lucenenet/pull/331


   In some cases, it is more efficient to pass a string because there is no concatenation
operation when supplying the parameter. This adds an overload to cover those cases, but it
should only be used when there is no string concatenation operation taking place so the performance
impact doesn't happen in production.


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message