Navigation Menu

Skip to content

Commit

Permalink
Fix some typos in ocaml-perf-notes.mkd
Browse files Browse the repository at this point in the history
  • Loading branch information
bmillwood committed Jan 18, 2016
1 parent 4a0de74 commit 658cc05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ocaml-perf-notes.md
Expand Up @@ -13,8 +13,8 @@ The notes fall into the following categories:
* notes on reading OCaml assembly code so that you may understand
what your own OCaml programs do on the CPU.

When possible have tried to motivate these with snippets of assembly
code generated by ocamlopt.
When possible we have tried to motivate these with snippets of
assembly code generated by ocamlopt.

As a caveat, performance optimizations are sometimes at odds with
desirable programming styles such as preserving abstraction boundaries
Expand Down Expand Up @@ -47,7 +47,7 @@ OCAMLOPTFLAGS += -S
to your local `OMakefile`.

It is best to generate assembly code with full inlining and other
optimizations that the compiler supports. Even thought inlining and
optimizations that the compiler supports. Even though inlining and
optimization might make the code a bit harder to read, it will give
you a more accurate picture of what executes on the CPU. Profiling
tool like `gprof` where the inlining and such only serves to confuse
Expand Down

0 comments on commit 658cc05

Please sign in to comment.