lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] eladmarg commented on pull request #345: Reduce casting
Date Tue, 22 Sep 2020 17:33:11 GMT

eladmarg commented on pull request #345:
URL: https://github.com/apache/lucenenet/pull/345#issuecomment-696868907


   if we don't gain any performance, I prefer to stick with readability, 
   
   so acceptable by me is == null -> is null
   a is MyClass mc (assuming performance are the same)
   
   keep != null, when c# 9.0 is out, we'll replace all with is not null
   


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