seandenigris / Pharo-Enhancements

MIT License
3 stars 1 forks source link

GT View Optimization #20

Open seandenigris opened 2 years ago

seandenigris commented 2 years ago

I'm feeling like I need to optimize some of my views. There are two scenarios where I'm not sure how:

  1. When I only want to show a view tab if there is something to show, but the calculation of the collection is expensive, I end up doing it twice. I tried cacheing the result and reusing it for the view's items, but then there's no way to update the view later.
  2. I have some Python code that determines whether a view should be shown.

Thinking through some workarounds, I was wondering:

seandenigris commented 2 years ago

2022-08-23 - Asked on GT Discord