Click here to Skip to main content
15,921,382 members
Home / Discussions / C#
   

C#

 
QuestionGeocoding Pin
shraddha IT19-May-09 18:06
shraddha IT19-May-09 18:06 
AnswerRe: Geocoding Pin
Dave Kreskowiak20-May-09 2:11
mveDave Kreskowiak20-May-09 2:11 
QuestionMultithreading is faster? Pin
Quake2Player19-May-09 17:53
Quake2Player19-May-09 17:53 
AnswerRe: Multithreading is faster? Pin
mav.northwind19-May-09 18:43
mav.northwind19-May-09 18:43 
AnswerRe: Multithreading is faster? Pin
Luis Alonso Ramos19-May-09 18:52
Luis Alonso Ramos19-May-09 18:52 
AnswerRe: Multithreading is faster? Pin
Dave Kreskowiak20-May-09 2:14
mveDave Kreskowiak20-May-09 2:14 
AnswerRe: Multithreading is faster? Pin
Luc Pattyn20-May-09 2:58
sitebuilderLuc Pattyn20-May-09 2:58 
GeneralRe: Multithreading is faster? Pin
Quake2Player20-May-09 3:12
Quake2Player20-May-09 3:12 
Well, this question was due to a question I had on a test:
It said something like:
"Some people are not happy with their statistics software because of the performance.. What would you do to try making it better"

And the code is like
"...
info = SomeClass.Load ( file )
Analyzer.AgeAnalysis( info )
Analyzer.SexAnalysis( info )
Analyzer.RaceAnalysis( info )
..."

1. Can't have access to the package that contains Analyzer and SomeClass
2. Therefore can't know what those methods do (but it says explicitly that they can run in different orders so there is no "wen one has to wait some other can continue")

And the solution was to make them run in different threads ..but i'm doubting that would improve the performance...

If there isnt dual core, hyperthreading, etc. in the system, and there isn't need to self organize.. then why would them run faster? If

f1 does f1.1, f1.2, f1.3
and f2 does f2.1, f2.2, f2.3

Without threads they would run like
f1.1
f1.2
f1.3
f2.1
f2.2
f2.3

And with threads, they just would run mixed, for example:
f1.1
f2.1
f1.2
f2.2
f2.3
f1.3

And that isnt running faster.. just in different order

Do you think ambiguous the question?
GeneralRe: Multithreading is faster? Pin
Luc Pattyn20-May-09 3:40
sitebuilderLuc Pattyn20-May-09 3:40 
QuestionButtons appear differently in Vista than in XP (problem) Pin
sodevrom19-May-09 14:54
sodevrom19-May-09 14:54 
AnswerRe: Buttons appear differently in Vista than in XP (problem) Pin
Luis Alonso Ramos19-May-09 18:54
Luis Alonso Ramos19-May-09 18:54 
AnswerRe: Buttons appear differently in Vista than in XP (problem) Pin
saanj19-May-09 19:24
saanj19-May-09 19:24 
GeneralRe: Buttons appear differently in Vista than in XP (problem) Pin
sodevrom20-May-09 5:27
sodevrom20-May-09 5:27 
Questiondatagridview getting values Pin
sakis2419-May-09 13:21
sakis2419-May-09 13:21 
AnswerRe: datagridview getting values [modified] Pin
Christian Graus19-May-09 13:31
protectorChristian Graus19-May-09 13:31 
GeneralRe: datagridview getting values Pin
sakis2419-May-09 13:56
sakis2419-May-09 13:56 
GeneralRe: datagridview getting values Pin
sakis2419-May-09 14:21
sakis2419-May-09 14:21 
GeneralRe: datagridview getting values Pin
Mycroft Holmes19-May-09 14:34
professionalMycroft Holmes19-May-09 14:34 
GeneralRe: datagridview getting values Pin
sakis2419-May-09 14:50
sakis2419-May-09 14:50 
GeneralRe: datagridview getting values Pin
Mycroft Holmes19-May-09 15:38
professionalMycroft Holmes19-May-09 15:38 
QuestionDistributed Hosting Pin
Matt Cavanagh19-May-09 12:05
Matt Cavanagh19-May-09 12:05 
AnswerRe: Distributed Hosting Pin
Matty2219-May-09 15:48
Matty2219-May-09 15:48 
GeneralRe: Distributed Hosting Pin
Matt Cavanagh19-May-09 20:39
Matt Cavanagh19-May-09 20:39 
QuestionIs it possible to Convert from Windows Application to a Mobile Device Application? Pin
Star0919-May-09 11:35
Star0919-May-09 11:35 
AnswerRe: Is it possible to Convert from Windows Application to a Mobile Device Application? Pin
led mike19-May-09 11:55
led mike19-May-09 11:55 

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.