# Please Help me optimise my app (uses p5 python port)

**URL:** <https://discourse.processing.org/t/please-help-me-optimise-my-app-uses-p5-python-port/24302>\
**Category:** p5py\
**Created:** [October 3, 2020, 3:31am UTC](https://discourse.processing.org/t/please-help-me-optimise-my-app-uses-p5-python-port/24302 "2020-10-03T03:31:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shade\_95](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@shade\_95](https://discourse.processing.org/u/shade_95)\
**Post date:** [October 3, 2020, 3:31am UTC](https://discourse.processing.org/t/please-help-me-optimise-my-app-uses-p5-python-port/24302/1 "2020-10-03T03:31:50Z")

</div>

[https://github.com/1999shaswat/a-star](https://github.com/1999shaswat/a-star)  
`Source Code in sketch.py`  
My python program (shortest path using a star), worked fine in previous releases of p5py. (As shown in gif in github page [ignore lag, peek gif recorder problem])  
But after updating python(3.7.x → 3.8.3) and p5py(0.6 -\>0.7.1), app first started crashing. Then found error in line 37(that never existed before). After fixing that, the app runs WAY SLOWER than before. Please help. Thank you :3

---

<div class="post-metadata">

**Author:** ![tushar55](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tushar55](https://discourse.processing.org/u/tushar55)\
**Post date:** [December 6, 2023, 6:55pm UTC](https://discourse.processing.org/t/please-help-me-optimise-my-app-uses-p5-python-port/24302/2 "2023-12-06T18:55:01Z")

</div>

Can you try this out with the new p5py versions? Do try out the new `skia` renderer for better sketches.
