Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanded PredatorPrey Excercise #53

Open
13 tasks
Robadob opened this issue Mar 6, 2025 · 0 comments
Open
13 tasks

Expanded PredatorPrey Excercise #53

Robadob opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Robadob
Copy link
Member

Robadob commented Mar 6, 2025

Raised by Louise Bowler/Jost Migenda (@JostMigenda) (KCL RSE), that the PredatorPrey code/exercise from the profiling section could be used to demonstrate many of the patterns in practice.

Currently there are no interactive exercises within the optimisation part of the course (this was highlighted by one of their attendees!).

General plan discussed would be to de-optimise the initial exercise's code, then create exercises that allowed attendees to apply identified optimisations and see the impact.

e.g. they already identified it would be possible to optimise the grass eaten function with vectorisation.

Due to concerns over timing (and course becoming over a day's worth of content), the exercises wouldn't ask attendees to profile the code themselves (although this could be left as optional homework), instead providing them with the relevant snippet of code and potentially profiler output.

The predator prey code could also be expended to emit a built in runtime after execution for convenience.

TODO

  • Identify several appropriate optimisations
    • a)....
    • b)....
    • c)....
  • Draft exercises for these optimisations
    • a)....
    • b)....
    • c)....
  • Review impact on profiling exercises
    • Does it make it significantly more expensive to profile on bad uni pcs?
    • Do the results of profiling change, what is being taught/explained.
  • Review delivery
    • e.g. what's the implication on timing/flow?
@Robadob Robadob added the enhancement New feature or request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant