Changeset 6aa84e0 for doc/theses/andrew_beach_MMath/performance.tex
- Timestamp:
- Sep 20, 2021, 11:46:19 AM (18 months ago)
- Branches:
- enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 6cc87c0
- Parents:
- 432bffe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/performance.tex
r432bffe r6aa84e0 312 312 \CFA, \Cpp and Java. 313 313 % To be exact, the Match All and Match None cases. 314 %\todo{Not true in Python.} 315 The most likely explanation is that, since exceptions 316 are rarely considered to be the common case, the more optimized languages 317 make that case expensive to improve other cases. 314 The most likely explination is that, 315 the generally faster languages have made ``common cases fast" at the expense 316 of the rarer cases. Since exceptions are considered rare, they are made 317 expensive to help speed up common actions, such as entering and leaving try 318 statements. 319 Python on the other hand, while generally slower than the other languages, 320 uses exceptions more and has not scarified their performance. 318 321 In addition, languages with high-level representations have a much 319 322 easier time scanning the stack as there is less to decode.
Note: See TracChangeset
for help on using the changeset viewer.