Get the latest tech news

ChatGPT-Powered 'Scalene' Offers Efficiency Suggestions for Python Programmers


The tech site IT Brew looks at an open-source tool that "uses AI to offer efficiency-minded suggestions to Python coders." Known as "Scalene," the profiler — a kind of debugger for performance issues — has been downloaded more than 900,000 times on GitHub. "It's awesome in general, an...

The tech site IT Brew looks at an open-source tool that "uses AI to offer efficiency-minded suggestions to Python coders." "It's awesome in general, and amazing for an academic project," UMass professor Emery Berger, who worked with PhD students Sam Stern and Juan Altmayer Pizzorno on the open-source tool, told IT Brew... Scalene measures how much time and memory is spent on each line of code — both on average and at peak, [and] how much time is spent in efficient libraries and how much is spent in Python... By selecting a lightning-bolt icon, a user can "leverage the engine that powers ChatGPT to get an optimization" suggestion, Berger said. In one demo he showed IT Brew, an output recommended a less-memory-intensive move to reduce a very large array created by the code...

Get the Android app

Or read this on Slashdot

Read more on:

Photo of ChatGPT

ChatGPT

Photo of scalene

scalene

Photo of python programmers

python programmers

Related news:

News photo

Kids spent 60% more time on TikTok than YouTube last year, 20% tried OpenAI’s ChatGPT

News photo

Exclusive: The $2 Per Hour Workers Who Made ChatGPT Safer

News photo

ChatGPT gets Quick Settings toggle for Assistant overlay in latest beta