Run-time
定义 Definition
run-time(也作 runtime):
- (计算机)运行时:程序正在执行的阶段;与“编译时(compile-time)”相对。也可指程序在执行过程中需要的资源或表现(如运行时错误、运行时环境)。
- (影视等)片长/时长:一部电影、演出等从开始到结束的时间长度。
发音 Pronunciation
/ˈrʌnˌtaɪm/
例句 Examples
The run-time of this program is under one second.
这个程序的运行时间不到一秒。
During run-time, the app loads data, checks permissions, and may throw errors if the network is unstable.
在运行时,这个应用会加载数据、检查权限;如果网络不稳定,可能会抛出错误。
词源 Etymology
由 run(运行)+ time(时间) 组成的复合词,最初多用于计算机领域,表示“程序运行的时间/阶段”,常写作 run-time(带连字符)或 runtime(不带连字符)。后来在影视语境中也常用来表示“片长”。
相关词 Related Words
文学/作品引用 Literary Works
- Structure and Interpretation of Computer Programs(《计算机程序的构造和解释》):讨论解释器与求值过程时常涉及“运行时”行为与环境。
- Introduction to Algorithms(《算法导论》):在分析算法效率时频繁使用“running time / runtime(运行时间)”的概念。
- Clean Code(《代码整洁之道》):在谈性能与缺陷时会提到运行时问题(如运行时异常、性能开销)。
- The C Programming Language(《C程序设计语言》):涉及程序执行阶段与错误处理时,会出现与“运行时”相关的表述。