diff options
author | Son Ho | 2022-01-26 16:34:51 +0100 |
---|---|---|
committer | Son Ho | 2022-01-26 16:34:51 +0100 |
commit | e7e51b2e492fc04fef859dda8c532c8db9a5bfd0 (patch) | |
tree | 63392d5545c899c02cd415fde9a4f38327ad637f | |
parent | 652e500bc2ad13f70db242e0c89234091769fe18 (diff) |
Add TODOs
Diffstat (limited to '')
-rw-r--r-- | TODO.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -10,8 +10,11 @@ 0. micro-passes for pure: - remove unused variables - - remove useless function calls *if* they are followed by associated - backward calls (because they may panic!) + - remove useless function calls: + - calls which don't introduce values *if* they are followed by associated + backward calls (because they may panic!) + - calls which don't take inputs (can happen with backward functions - for + instance, if a rust function only returns shared borrows) 1. reorder the branches of matches |