开发者

Looking for poorly optimized code [closed]

开发者 https://www.devze.com 2022-12-19 03:26 出处:网络
Closed. This question does not meet Stack Overflow guidelines. I开发者_Go百科t is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. I开发者_Go百科t is not currently accepting answers.

Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

I posted this on daniweb, but have revised my thoughts on the matter.

Basically my 'Integrated Software Systems' class midterm is to take some code (either you wrote or someone else's) and optimize it.

I thought to myself why not use this opportunity to enrich the open source community, I know it's really going to only be a function or so, but if more people from the course were interested maybe it would make some progress for some projects.

So does anyone know of any functions or small chunks of code (nothing really large), that would be somewhat easy to stub out and just run independently of the rest of the code, and just work on optimizing it, especially pieces that need to run fast, that are in an open source project?

I'll definitely post this on my blog and refer people to this question for people wanting ideas on functions to work on from my course.

Frankly I've been tired of just doing work that is academia only and it really isn't helping anyone except learning theoretical stuff, I would rather put it to good use and help others.


  • ATLAS - might be hard to improve, but if you do, big kudos
  • UBLAS - may be able to improve some common expression patterns
  • sympy - python code, some routines are slow. developers would definitely appreciate help.

Probably sympy would have greatest payoff in terms of improvement. Atlas would be nearly impossible to improve in my opinion.

you could also check out projects links on oonumerics.org, but if you do choose project, make sure it is still active. the projects are grouped by their fields so you have a lot to choose from.


You can download the code for this travelling salesman solver and optimize it: http://www.gebweb.net/optimap/


How about a nice little game of Boggle?

There's probably ways to optimize string comparisons, loops, search algorithms, caches.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号