Longwei Lai

Results 160 issues of Longwei Lai

Compiler GCC version:gcc (GCC) 11.2.0 In this version compiler, cause std::logic_error type not found error, add header file include to fix this compile error.

a. #if/#else/#endif format error. source: #if some_cond do_if_stuff; #else do_other_stuff; #endif when format, the do_if_stuff will became: # do_if_stuff; b. comments format error, the same line comments will format to...

My project has some config files, when edited the config files, and run `make xxx`,premake tool generated makefile will not run `postbuildcommands()`, for this case, can add support?

question

When i create txt file(right click mouse button->create new txt file), it create 4 txt files?

两个优化点: * `Log Hook`的执行放到Runnable中进行,以**尽可能消除对日志调用者线程的性能影响**,同时修改注释,要求使用者注意多线程问题 * `Log Hook`支持`chain`,即可以设置多个,同时支持一次性设置多个`log level`的`Log Hook`,以简化调用

当前对象池:实现较为复杂、代码量过大、性能还不是最优、设计不过内聚,基于这些问题,进行重构,核心事宜: * 整体简化代码,去除接口类方式,只提供四层最简化的概念:`LLBC_ObjPool` -> `LLBC_TypedObjPool` -> `ObjStripe` > `Obj` * 统一所有对象池反射操作,并进行简化,统一到`LLBC_ObjReflector`中 * 整体简化数据结构设计,去除`RingBuffer`数据结构,直接使用`Linked List`完成`free stripe` & `free obj`管理 * 去除跟`GC池`耦合,只保留最pure实现 * 去除`LLBC_IObjPool`这类基础实现 * 完整简化所有设计及实现逻辑