跳至主内容区域
跳至副内容区域

作程的技术博客

Zuocheng Liu‘s IT Blog

主页

  • Home
  • Engineering
    • Management
  • Architecture
    • System Architecture
    • Software Architecture
  • Algorithm
  • Language
    • Bash
    • PHP
    • JavaScript
    • C/C++
    • Sql
    • Java
    • Python
  • Operating System
    • Linux
  • Other
    • To Do List
    • Recuit
  • About

月度归档:2019年12月

如何学习一门新的编程语言

发表于2019 年 12 月 26 日由Zuocheng Liu
回复

如何学习一门新语言

发表在 Engineering | 发表评论

如何快速把控一个系统或模块

发表于2019 年 12 月 24 日由Zuocheng Liu
回复

如何接手一个新系统-模块

发表在 Engineering、Management | 发表评论

代码性能优化总结

发表于2019 年 12 月 18 日由Zuocheng Liu
回复

整体思路

如下脑图

代码性能优化总结

Linux C lib

避免使用的库
struct tm *localtime(const time_t *clock); 性能极差,调用一次需要 2.9 us

性能上 memcpy > snprintf > strncpy

C++ STL

避免使用 std::stringstream,多线程高并发的情况下,可能触发cache threshing

发表在 Language | 发表评论

归档

  • 2026 年 9 月
  • 2026 年 8 月
  • 2026 年 7 月
  • 2025 年 9 月
  • 2024 年 4 月
  • 2024 年 1 月
  • 2023 年 11 月
  • 2023 年 9 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 3 月
  • 2022 年 1 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 1 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 4 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 6 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 4 月
  • 2017 年 1 月
  • 2016 年 10 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 11 月
  • 2015 年 10 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 4 月
  • 2014 年 1 月
  • 2013 年 8 月
  • 2013 年 6 月
  • 2013 年 5 月
  • 2013 年 4 月

功能

  • 登录
自豪地采用WordPress