summaryrefslogtreecommitdiff
path: root/bench/Makefile
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-11-08 15:34:58 +0100
committerYorhel <git@yorhel.nl>2020-11-08 15:35:00 +0100
commit66507906673bc6159d5d620414479954c9c21c24 (patch)
treee49bacf5159e6bc275af25bcb790467305e12cf8 /bench/Makefile
parentf9438757fc49b9f86961ddb55ae430e36bb88ebb (diff)
Use reinterpret-casting in yxml_setchar()HEADmaster
This avoids a memcpy() when the compiler doesn't optimize it. I initially avoided doing this out of fear for triggering UB and causing optimizing compilers to optimize the code away, but I believe this is actually safe when the types involved are (unsigned) chars.
Diffstat (limited to 'bench/Makefile')
0 files changed, 0 insertions, 0 deletions