Ignore:
Timestamp:
Sep 20, 2021, 11:46:19 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
6cc87c0
Parents:
432bffe
Message:

Andrew MMath: Removed (updated one) the remaining \todo items.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/performance.tex

    r432bffe r6aa84e0  
    312312\CFA, \Cpp and Java.
    313313% 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.
     314The most likely explination is that,
     315the generally faster languages have made ``common cases fast" at the expense
     316of the rarer cases. Since exceptions are considered rare, they are made
     317expensive to help speed up common actions, such as entering and leaving try
     318statements.
     319Python on the other hand, while generally slower than the other languages,
     320uses exceptions more and has not scarified their performance.
    318321In addition, languages with high-level representations have a much
    319322easier time scanning the stack as there is less to decode.
Note: See TracChangeset for help on using the changeset viewer.