Skip to content

Commit

Permalink
Prepare L20 flipped note
Browse files Browse the repository at this point in the history
  • Loading branch information
h365chen committed Feb 26, 2024
1 parent 2c1dfb1 commit 0535b6b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lectures/flipped/L20.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Exercise: can we think of real-life software examples where observe-and-change
makes sense? (Talk about the ones in the lecture notes: data structure
selection; database query processing; indexes; external services).

Consider the [im docs](https://docs.rs/im/14.3.0/im/):
Consider the [im docs](https://docs.rs/im/15.1.0/im/index.html):

> For instance, Vec beats everything at memory usage, indexing and operations
> that happen at the back of the list, but is terrible at insertion and removal,
Expand All @@ -48,7 +48,7 @@ Consider the [im docs](https://docs.rs/im/14.3.0/im/):
> of a single chunk.
Exercise: Look at `lectures/live-coding/L20a-skel`, experiment with different
data structures and operation mixes, and try to understand what is fast when.
data structures and operations, and try to understand what is fast and when.

Exercise: Look at `lectures/live-coding/L20c-skel`, choose a good initial size.

Expand All @@ -59,12 +59,10 @@ given the workload.

## Rewriting the binary [30 minutes]

note: L20c-skel basically does this already.

Have the program modify itself to add inline annotations, recompile itself and
re-invoke the new version of itself. You may find the [build script
examples](https://doc.rust-lang.org/cargo/reference/build-script-examples.html)
useful.
useful, especially how it uses `Command::new`.

# After-action report, plam, 13 Mar 2023

Expand Down

0 comments on commit 0535b6b

Please sign in to comment.