C/C++开发问题


为什么 std::fill(0) 比 std::fill(1) 慢?
Why is std::fill(0) slower than std::fill(1)?(为什么 std::fill(0) 比 std::fill(1) 慢?)...
2023-12-02 C/C++开发问题
8

我可以在多核 x86 CPU 上强制缓存一致性吗?
Can I force cache coherency on a multicore x86 CPU?(我可以在多核 x86 CPU 上强制缓存一致性吗?)...
2023-12-02 C/C++开发问题
4

循环展开以使用 Ivy Bridge 和 Haswell 实现最大吞吐量
Loop unrolling to achieve maximum throughput with Ivy Bridge and Haswell(循环展开以使用 Ivy Bridge 和 Haswell 实现最大吞吐量)...
2023-12-02 C/C++开发问题
6

使用 double 比 float 快吗?
Is using double faster than float?(使用 double 比 float 快吗?)...
2023-12-02 C/C++开发问题
6

如何使用 SIMD 实现 atoi?
How to implement atoi using SIMD?(如何使用 SIMD 实现 atoi?)...
2023-12-02 C/C++开发问题
4

现代硬件上的浮点与整数计算
Floating point vs integer calculations on modern hardware(现代硬件上的浮点与整数计算)...
2023-12-02 C/C++开发问题
5

硬件 SIMD 向量指针和相应类型之间的“reinterpret_cast"是否是未定义的行为?
Is `reinterpret_cast`ing between hardware SIMD vector pointer and the corresponding type an undefined behavior?(硬件 SIMD 向量指针和相应类型之间的“reinterpret_cast是否是未定义的行为?)...
2023-12-02 C/C++开发问题
43

绘制 8bpp 灰度位图(非托管 C++)
Drawing on 8bpp grayscale bitmap (unmanaged C++)(绘制 8bpp 灰度位图(非托管 C++))...
2023-12-02 C/C++开发问题
6

使用抖动将 24 位位图转换为 16 位的好的、优化的 C/C++ 算法是什么?
What is a good, optimized C/C++ algorithm for converting a 24-bit bitmap to 16-bit with dithering?(使用抖动将 24 位位图转换为 16 位的好的、优化的 C/C++ 算法是什么?)...
2023-12-02 C/C++开发问题
14

如何比 SetPixel() 更快地从原始 RGB 值数组直接在屏幕上显示像素?
How to display pixels on screen directly from a raw array of RGB values faster than SetPixel()?(如何比 SetPixel() 更快地从原始 RGB 值数组直接在屏幕上显示像素?)...
2023-12-02 C/C++开发问题
3

高效获取windows桌面截图
efficiently acquiring a screenshot of the windows desktop(高效获取windows桌面截图)...
2023-12-02 C/C++开发问题
18

C++ gdi::Bitmap to PNG Image in memory
C++ gdi::Bitmap to PNG Image in memory(C++ gdi::Bitmap to PNG Image in memory)...
2023-12-02 C/C++开发问题
9