Fixes a segmentation fault when moving nested objects between ractors with GC stress enabled and YJIT. The issue is a timing problem: `move_enter` allocates new object shells but leaves their contents uninitialized until `move_leave` co...joshuay03 (Joshua Young)
rubyFeedback (robert heiler) wrote in #note-6: > Ultimately you only have to convince matz. :) > ... Thanks, that's a good point re: backwards compatibility. > I am not really invested in the proposal here, so I will not comment m...joshuay03 (Joshua Young)
austin (Austin Ziegler) wrote in #note-5: > Wouldn’t it make more sense, then, to do `uniq { … }.map { … }`? Yes, there’s a *small* bit of extra code, but it means that you’re in most cases going to be performing *less work* than either...joshuay03 (Joshua Young)
mame (Yusuke Endoh) wrote in #note-3: > Is `.map { ... }.uniq` such a very frequent idiom? I work on a Rails codebase and it's most commonly used to iterate through foreign keys / associated records and get the unique values (quite oft...joshuay03 (Joshua Young)