最近统计了一下"潜进"记忆软件项目的最新代码, 算上注释和必要的空行(经过了 black 格式化), 合计已经超过了9000行.
在断断续续改进这个项目的六个月里, 产生一些经验, 现在做一点总结.

➜  HeurAMS git:(refactor/v0.5.0) ✗ date
2026年 01月 17日 星期六 00:07:43 CST
➜  HeurAMS git:(refactor/v0.5.0) ✗ cloc . --exclude-list-file=.gitignore
    2200 text files.
    1913 unique files.                                          
    2283 files ignored.

github.com/AlDanial/cloc v 2.06  T=0.78 s (125.9 files/s, 12563.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                          79           1520           1395           5490
Markdown                         8             62              0            338
TOML                             8             40             12            146
Jupyter Notebook                 1              0            684             80
Text                             1              0              0              8
JSON                             1              0              0              1
-------------------------------------------------------------------------------
SUM:                            98           1622           2091           6063
-------------------------------------------------------------------------------
➜  HeurAMS git:(refactor/v0.5.0) ✗ 

标签: none

评论已关闭