The word has it FillChar is about the fastest way to fill a patch of memory with bytes of the same value (not zero, for that there’s ZeroMemory), but is there an equivalent to fill memory with a sequence of the same (four byte) integer or cardinal value? Something like FillInt or FillLongWord?
Share
FillDWord is in some Pascal implementations (FreePascal here), don’t know if it’s in Delphi.
Maybe some simple assembler implementation?
… or some asm expert could give a better one…
You could also look at the implementation in FreePascal.