¡@

Home 

c++ Programming Glossary: bd

Why does gcc generate 15-20% faster code if I optimize for SIZE instead of speed?

http://stackoverflow.com/questions/19470873/why-does-gcc-generate-15-20-faster-code-if-i-optimize-for-size-instead-of-speed

4004dd 41 89 f4 mov r12d esi 4004e0 55 push rbp 4004e1 bd 00 c2 eb 0b mov ebp 0xbebc200 4004e6 53 push rbx 4004e7 31.. 400505 41 89 fc mov r12d edi 400508 55 push rbp 400509 bd 00 c2 eb 0b mov ebp 0xbebc200 40050e 53 push rbx 40050f 31.. 400508 41 89 fc mov r12d edi 40050b 55 push rbp 40050c bd 00 c2 eb 0b mov ebp 0xbebc200 400511 53 push rbx 400512 31..

combinations algorithm

http://stackoverflow.com/questions/2506119/combinations-algorithm

0 a arr 1 ab arr 2 ac arr 3 ad arr 4 ae arr 5 abc arr 6 abd arr 7 abe ... arr n abcde arr n 1 b arr n 2 bc arr n 3 bd arr.. abd arr 7 abe ... arr n abcde arr n 1 b arr n 2 bc arr n 3 bd arr n 4 be arr n 5 bcd arr n 5 bce arr n 5 bde ... arr n m bcde.. 2 bc arr n 3 bd arr n 4 be arr n 5 bcd arr n 5 bce arr n 5 bde ... arr n m bcde ... ... c c combinations share improve..

Setting up the constant buffer using SlimDX

http://stackoverflow.com/questions/4962225/setting-up-the-constant-buffer-using-slimdx

g_Projection set up the constant buffer D3D11_BUFFER_DESC bd ZeroMemory bd sizeof bd bd.Usage D3D11_USAGE_DEFAULT bd.ByteWidth.. set up the constant buffer D3D11_BUFFER_DESC bd ZeroMemory bd sizeof bd bd.Usage D3D11_USAGE_DEFAULT bd.ByteWidth sizeof ConstantBuffer.. constant buffer D3D11_BUFFER_DESC bd ZeroMemory bd sizeof bd bd.Usage D3D11_USAGE_DEFAULT bd.ByteWidth sizeof ConstantBuffer..