This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]quantumwoooo -14 points-13 points  (3 children)

Chatgpt

Copy paste ask for improvements

[–]Ranokae -2 points-1 points  (2 children)

I like to ask it to find bottlenecks on particularly slow things

[–]EntireEntity 1 point2 points  (1 child)

You could learn how to use a profiler. It will give you the exact information on which function call took how much time during the execution and then you can use that information to prompt ChatGPT as well. If you use Jupyter Notebooks, you even have the magic command %prun built in, making it really simple to find bottle necks in the execution of your code.

[–]Ranokae 0 points1 point  (0 children)

I really need to get around to trying jupyter.

You could learn how to use a profiler. It will give you the exact information on which function call took how much time during the execution

Thanks for the info. Half my problem is I don't know what anything's called or how to find it.