ANS(非对称数字系统) + FSE(有限状态熵)
发表于
更新于
vscode加载大型工程
发表于
现象
使用vscode跳转功能在代码很多的时候需要等待很久,每次刚打开工程时跳转或者函数搜索的速度很慢。
原理
vscode是用 Electron(一个使用js, html, css构建桌面应用程序的框架) 写的。
Electron通过将Chromium和Node.js合并到同一个运行环境中,然后将其打包成具体的应用。
因此本质是将web服务器和web客户端放在一起了,优化的方案即是找一个高性能服务器,将补全和跳转之类耗费cpu和磁盘空间的动作都丢到服务端去,本地vscode当作一个浏览器使用。
由于和我需求不服,家里查看代码没有专门的服务器,这个方案我用不到。
具体的方式参考:
https://blog.csdn.net/aiyanzielf/article/details/108395392
人像摄影三要素
发表于
hexo使用
发表于
Hello World
发表于
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment