State of “memset” functionality in C++ with modern compilers

前端 未结 12 1740
我寻月下人不归
我寻月下人不归 2021-02-12 16:03

Context:

A while ago, I stumbled upon this 2001 DDJ article by Alexandrescu: http://www.ddj.com/cpp/184403799

It\'s about comparing various ways to initialize

12条回答
  •  [愿得一人]
    2021-02-12 16:17

    You can take a look on liboil, they (try to) provide different implementation of the same function and choosing the fastest on initialization. Liboil has a pretty liberal licence, so you can take it also for proprietary software.

    http://liboil.freedesktop.org/

提交回复
热议问题