Sema: optimize comptime @memset by setting all elements at once

Previously, @memset at comptime performed N pointer stores. This is less
efficient than just storing a whole array of values at once. The
difference can be quite drastic when reinterpreting memory - a test case
which is 40s on master branch now takes under a second on a debug
compiler build.

Resolves: #17214
e011c31ee8mlugg committed on 9/22/2023, 9:42:27 PM· committed by Andrew Kelleyparent272a57e
1 file changedLine totals unavailable