The trouble with std::function: Part 1
Introduction After reading a lot of material about std::function, I wanted to briefly summarize it. This article will briefly outline the problems that exist with std::function. Even though many o...
Introduction After reading a lot of material about std::function, I wanted to briefly summarize it. This article will briefly outline the problems that exist with std::function. Even though many o...
When I was reading this article, I suddenly became very curious about how much overhead virtual functions in C++ actually introduce to performance. For a long time, I’ve known that using virtual fu...
Intro Description Conclusion Example Intro When I first encoutered skynet_malloc.h in skynet’s source code, I was much confused by this design: Why does the header both define marcos(...
Design of Table Operation for Table Auxiliary function Finding main position of key Get free position Array part Rehash ...
Stack Layout Stack Layout In the lua_State structure, there are three pointers(L->stack, L->stack_last and L->top) that relate to stack management. Additionally, there is a structure ...
Hash for Float Hash for Float This function is going to create a integer hash value for floating-point input, and this artical is about to dive into the details. The calculation of hash for flo...