3 ms·
ANSI rules for aliasing, plus the restrict keyword go a long way to address this.
by aidenn0 11y ago
ANSI rules for aliasing, plus the restrict keyword go a long way to address this.
- danieltillett 11y agoYes. Pointers are only a problem if you do things with them that confuses the compiler. As someone who writes C code that needs maximum performance (my problem is cpu bound) the two biggest performance gains were moving to icc (Intel’s compiler) and writing my own thread-safe memory pool allocator to avoid malloc.
- arthurcolle 11y agoWhat are your use cases that require this kind of performance? High performance order matching or other trading/financial applications?
- danieltillett 11y agoDNA sequencing data processing [1]. It is a hard problem that needs a lot of processing power thrown at it to solve. 1. https://www.nucleics.com/peaktrace/peaktrace-basecaller-overview.html https://www.nucleics.com/peaktrace/peaktrace-basecaller-over...