facil-io / cstl

facil.io C STL - a Server Toolbox Library for C, including JSON processing, hash maps, dynamic arrays, binary strings and more.
https://facil.io
MIT License
71 stars 6 forks source link

Windows Clang CI #12

Closed janbiedermann closed 1 year ago

boazsegev commented 1 year ago

seems clang on Windows optimizes away the fio_memcpy cache in the reversed fio_memcpy logic. This in turn allows the loop to be vectorized in a way that breaks the reversed fio_memcpy logic... I'll try to fix it, not that the fio_memcpy fallback is often in use (for some reason it's faster than the alpine's memcpy in docker, but other than that the system's memcpy is usually best).