Redian新闻
>
Funny articles about emacs and vi. (Zhuan)
avatar
Funny articles about emacs and vi. (Zhuan)# Unix - 噫吁兮,危乎高哉
I*y
1
A naive comparison of computer text editors
Introduction
This is the results of a simple test comparing the speeds of three text editors (vi, emacs, and ed) in performing a simple
substitution task. We find that emacs is an order of magnitude slower than the other editors.
The task
1.Start the editor.
2.Replace ':' with '|' throughout the file.
3.Quit the editor without saving changes.
The file is a copy of /etc/passwd (actually ypcat passwd on my system) with 503 lines and 3018 occurences of ':
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。