[Skynet] The hook method for malloc in skynet
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(...
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...