• Gnasher729 (unregistered) in reply to MaxiTB

    Memcpy optimisation: On MacOS, at boot time the system determines the processor, and copies code for locking, atomic operations etc. and for memcpy, memmove and memset into a fixed location. The standard library functions just jump there.

    Memset of a few megabytes has some very interesting code handling caches in the most efficient way possible. And memmove for small sizes was: slurp all the data into vector registers, then spit it out, without any loop. And without any check for overlaps.

  • meclizine 25mg (unregistered)
    Comment held for moderation.

Leave a comment on “Copy Serialization”

Log In or post as a guest

Replying to comment #:

« Return to Article