1. 性能工具分析gperf, profile:
    create_time: 2017-03-12

  2. 消息队列设计实现
    create_time: 2017-03-12

  3. 接入层重新优化? 多线程工作队列
    create_time: 2017-03-12

  4. protobuf3.0 懒解析优化
    create_time: 2017-03-13

  5. boost 的anonymous构造的对象,在什么时候会释放
    create_time: 2017-03-18

  6. switch case 匹配优化,jump table
    http://kenby.iteye.com/blog/1187303
    http://blog.csdn.net/pangshaohua/article/details/6982528
    http://stackoverflow.com/questions/48017/what-is-a-jump-table

  7. 为自己博客写一个评论系统
    create_time: 2017-03-22

  8. 机器学习课程-NG的斯坦福大学公开课
    create_time: 2017-04-18

  9. protobuf的各个组件的实现,以及为什么 性能好
    create_time: 2017-05-13

  10. log组件
    https://www.cnblogs.com/lizhigang/p/7306777.html
    https://github.com/fffaraz/awesome-cpp#logging
    https://www.zhihu.com/question/37640953

  11. 文章:构造函数里的bzero和初始化列表效率

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    class ModuleEvent {
    public:
    ModuleEvent() {
    bzero(this, sizeof(ModuleEvent));
    }

    //供调试用
    std::string DebugString() const;

    public:
    uint64_t player_id;
    int32_t zone_id;
    uint32_t event_type; // 事件类型
    uint32_t event_param1; // 事件参数
    uint32_t event_param2;
    uint32_t event_param3;
    uint32_t event_param4;
    uint32_t event_param5;
    uint64_t event_param6;
    uint64_t event_param7;
    };

    class ModuleEvent {
    public:
    //供调试用
    std::string DebugString() const;

    public:
    uint64_t player_id{ 0 };
    int32_t zone_id{ 0 };
    uint32_t event_type{ 0 }; // 事件类型
    uint32_t event_param1{ 0 }; // 事件参数
    uint32_t event_param2{ 0 };
    uint32_t event_param3{ 0 };
    uint32_t event_param4{ 0 };
    uint32_t event_param5{ 0 };
    uint64_t event_param6{ 0 };
    uint64_t event_param7{ 0 };
    };

set_constraint_handler_s

https://en.cppreference.com/w/c/error/set_constraint_handler_s
https://en.cppreference.com/w/c/string/byte/memset