* Tracing rays is fast, shading is slow

* normalize is slow and should be avoided as much as possible

* C is not faster than C++, correct use of C++ features can improve performance

* SSE is not always faster, should be used without load and store from FPU

* Taking branch is slower, computation is faster

* Computation is fast, accessing memory is slow

* Do not stuck the stack memory, make best use of registers

* Write clean code, optimize when the code is clean enough

* Always use a profiler, the bottleneck is not what you expect for most of the time

 

相关文章:

  • 2021-10-05
  • 2021-06-18
  • 2021-12-22
  • 2021-11-20
  • 2021-12-12
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
猜你喜欢
  • 2022-02-04
  • 2022-02-20
  • 2021-07-31
  • 2021-12-22
  • 2021-06-25
  • 2021-07-30
  • 2022-12-23
相关资源
相似解决方案