MSVC 17.7 generates bad code in some lambda's, this has been reported upstream [1], and a workaround has been suggested by MS in the form of turning the inliner off. In consultation with the geo nodes people this was deemed a passable solution, there was only a single call to this method so performance wasn't a concern, so no special care had to be taken to single out just the problematic MSVC versions. If this bug pops up in other parts of our code where performance IS a concern a more delicate approach may be required. [1] https://developercommunity.visualstudio.com/t/10448291 Pull Request: https://projects.blender.org/blender/blender/pulls/112616