Click here to Skip to main content
15,392,226 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: When something looks too good to be true, it normally is Pin
martin_hughes13-Apr-10 11:12
Membermartin_hughes13-Apr-10 11:12 
GeneralRe: When something looks too good to be true, it normally is Pin
Yayozama13-Apr-10 12:05
MemberYayozama13-Apr-10 12:05 
GeneralRe: When something looks too good to be true, it normally is Pin
Mark_Wallace13-Apr-10 19:43
MemberMark_Wallace13-Apr-10 19:43 
GeneralRe: When something looks too good to be true, it normally is Pin
peterchen13-Apr-10 11:27
Memberpeterchen13-Apr-10 11:27 
GeneralRe: When something looks too good to be true, it normally is Pin
_Maxxx_13-Apr-10 14:45
professional_Maxxx_13-Apr-10 14:45 
GeneralRe: When something looks too good to be true, it normally is Pin
leppie13-Apr-10 18:55
Memberleppie13-Apr-10 18:55 
GeneralRe: When something looks too good to be true, it normally is Pin
_Maxxx_13-Apr-10 23:31
professional_Maxxx_13-Apr-10 23:31 
GeneralDo you know what's also slow? Pin
martin_hughes13-Apr-10 10:34
Membermartin_hughes13-Apr-10 10:34 
Attempting to greyscale 500 odd (~2329x3500 24bpp) images using IronPython. And I mean sloooooooooooooooooooooooooooooooooow! The sort of sloooooooooooooooooooow that doesn't just necessitate the making of a brew, but also requires you to go out for a very long walk, read the paper, have a nice long nap, have dinner, enjoy some beer in the garden, go to bed feeling a bit drunk and wake up the next morning hoping the process has finished.

Of course, I'm not stupid so I did some testing first Smile | :)

With a single thread each image was taking > 1 minute to process. I managed to improve that a little bit by using some multi-threading savvy and got it down to, a still highly unsatisfactory, 38 seconds.

At which point I decided I'd try it in C# instead. The code is pretty much exactly the same as the IronPython implementation, the results somewhat startling. On the same machine, using the same .Net features, a single threaded C# app was able to process each image in .78 seconds (using my rudimentary timing technique).

So there you go, chums, IronPython may be quite cool - I like it! - but if you're into doing anything with images I'd probably consider using something else.

GeneralRe: Do you know what's also slow? Pin
CPallini13-Apr-10 10:42
mveCPallini13-Apr-10 10:42 
GeneralRe: Do you know what's also slow? Pin
martin_hughes13-Apr-10 11:02
Membermartin_hughes13-Apr-10 11:02 
GeneralRe: Do you know what's also slow? Pin
AspDotNetDev13-Apr-10 11:08
protectorAspDotNetDev13-Apr-10 11:08 
GeneralRe: Do you know what's also slow? Pin
martin_hughes13-Apr-10 11:33
Membermartin_hughes13-Apr-10 11:33 
GeneralRe: Do you know what's also slow? Pin
S. Senthil Kumar13-Apr-10 16:34
MemberS. Senthil Kumar13-Apr-10 16:34 
GeneralRe: Do you know what's also slow? Pin
martin_hughes13-Apr-10 20:51
Membermartin_hughes13-Apr-10 20:51 
GeneralRe: Do you know what's also slow? Pin
S. Senthil Kumar14-Apr-10 3:44
MemberS. Senthil Kumar14-Apr-10 3:44 
GeneralBest Slogan Ever Pin
Ian Shlasko13-Apr-10 10:16
MemberIan Shlasko13-Apr-10 10:16 
GeneralRe: Best Slogan Ever Pin
Kschuler13-Apr-10 10:37
MemberKschuler13-Apr-10 10:37 
GeneralRe: Best Slogan Ever [NSFW] Pin
Pete O'Hanlon13-Apr-10 10:46
mvaPete O'Hanlon13-Apr-10 10:46 
GeneralRe: Best Slogan Ever [NSFW] Pin
AspDotNetDev13-Apr-10 11:00
protectorAspDotNetDev13-Apr-10 11:00 
GeneralRe: Best Slogan Ever [NSFW] Pin
Pete O'Hanlon13-Apr-10 11:12
mvaPete O'Hanlon13-Apr-10 11:12 
GeneralRe: Best Slogan Ever [NSFW] Pin
Ian Shlasko13-Apr-10 11:14
MemberIan Shlasko13-Apr-10 11:14 
GeneralRe: Best Slogan Ever Pin
Ian Shlasko13-Apr-10 11:13
MemberIan Shlasko13-Apr-10 11:13 
GeneralRe: Best Slogan Ever Pin
Mark_Wallace13-Apr-10 19:53
MemberMark_Wallace13-Apr-10 19:53 
GeneralRe: Best Slogan Ever Pin
martin_hughes13-Apr-10 11:05
Membermartin_hughes13-Apr-10 11:05 
GeneralRe: Best Slogan Ever Pin
Ian Shlasko13-Apr-10 11:13
MemberIan Shlasko13-Apr-10 11:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Do you feel you fully understand the vision and purpose of the software project you're working on?
Sure you can be told the "what", but do you have the "why"?
  Results   216 votes