-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Here are some easy algorithmic improvements as well as performance tuning/optimization.
- I'm pretty sure we're re-drawing all of the plots at each iteration, which is unnecessarily quadratic. I think there's a big-ish speed-up to be had here (~30%) given how slow the real-time UI rendering currently is.
- Dirichlet model updates are O(1) (great!), but save() and load() are still O(N^2). I think we can get these down to O(m) (MCTS horizon) pretty easily, and that'll be a big win for environment scaling.
Check for V8 optimizations throughout using the profiler. Apparently it's not happy with let keywords, and can't optimize code that uses them.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels