Skip to content

Commit

Permalink
Add a note on performance
Browse files Browse the repository at this point in the history
See #82 for context.
  • Loading branch information
annevk committed Mar 24, 2017
1 parent 6d76126 commit 82d933c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions infra.bs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ leading spaces" or "return false") are to be interpreted with the meaning of the
manner, so long as the end result is equivalent. (In particular, the algorithms are intended to be
easy to follow, and not intended to be performant.)

<p class=note>Performance is tricky to get correct as it is influenced by user perception, computer
architectures, and different types of input that can change over time in how common they are. For
instance, a JavaScript engine likely has many different code paths for what is standardized as a
single algorithm, in order to optimize for speed or memory consumption. Standardizing all those code
paths would be an insurmountable task and not productive as they would not stand the test of time
as well as the single algorithm would. Therefore performance is best left as a field to compete
over.


<h3 id=algorithm-control-flow>Control flow</h3>

Expand Down Expand Up @@ -748,6 +756,7 @@ as 200/`<code>OK</code>`.
Dominic Farolino,
Jake Archibald,
Jungkee Song,
Leonid Vasilyev,
Malika Aubakirova,
Michael™ Smith,
Mike West,
Expand Down

0 comments on commit 82d933c

Please sign in to comment.