data-oriented-design
Which one is faster ? Function call or Conditional if Statement?
Please consider the branch prediction too before answering this question. I have some scenarios where i can replace a conditional statement with a call to a function with the help of function pointer[详细]
2023-04-09 13:55 分类:问答How to create an efficient static hash table?
I need to create small-mid sized static hash tables from it. Typically, those will have 5-100 entries. When the hash table is created, all keys hashes are known up-front (i.e. the keys are already has[详细]
2023-03-12 16:20 分类:问答How to apply DOP and keep a nice user interface?
Currently I want to optimize my 3d engine for consoles a bit. More precisely I want to be more cache friendly and align my structures more data oriented, but also want to keep my nice user interface.[详细]
2023-01-19 02:38 分类:问答Is there any Tables lib/code for in memory manipulation in C++ [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-01-05 06:02 分类:问答Branchless memory manager?
Anyone thought about how to write a memory manager (in C++) that is completely branch free? I\'ve written a pool, a stack, a queue, and a linked list (allocating from the pool), but I am wondering how[详细]
2022-12-24 18:16 分类:问答上海迪士尼要多久才可以玩好?
360U3055788811 2022-04-26 09:01 上海迪士尼一般建议玩一天,开发者_如何学运维大部分时间都是在排队,而且就那么几个热门项目比较好玩,所以建议就玩一天,时间上还是比较紧的,需要提前做好攻略,比如在APP上[详细]
2022-12-23 20:42 分类:问答What is data oriented design? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2022-12-09 14:09 分类:问答