I only took a quick look at it, so don't put too much weight on this analysis, but it looks like what's happening is assignWithCopy for Int is ending up with an actual call to memcpy through the VWT, and it turns out call overhead is pretty significant when the actual operation being done is just one instruction.
2 Likes