lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] jeme commented on pull request #345: Reduce casting
Date Wed, 23 Sep 2020 13:40:55 GMT

jeme commented on pull request #345:

   @NightOwl888 While it does end up initializing a local variable, in this case it will be
a allocation on the stack though, and as far as i understand, this virtually has no cost associated
with it when you wan 't to reclaim it.
   It's my understanding that when you enter a method, a stack frame is allocated and all
you do when you exit the method again is rewind your stack pointer to where it was when you
entered. So it's only the allocation it self that has a cost, not the collection of it.

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