Re: Multiprocessing taking too much time

2010-07-30 Thread Dan Stromberg
On Thu, Jul 29, 2010 at 12:04 PM, John Nagle wrote: > On 7/29/2010 11:08 AM, Shailendra wrote: > >> Hi All, >> I have a following situation. >> ==PSUDO CODE START== >> class holds_big_array: >> big_array #has a big array >> >> def get_some_element(self, co

Re: Multiprocessing taking too much time

2010-07-29 Thread John Nagle
On 7/29/2010 11:08 AM, Shailendra wrote: Hi All, I have a following situation. ==PSUDO CODE START== class holds_big_array: big_array #has a big array def get_some_element(self, cond) # return some data from the array from the big array =

Re: Multiprocessing taking too much time

2010-07-29 Thread Joshua Kordani
The first thing that is generically tried when wishing to measure how long certain parts take is to record your own time snapshots in the code yourself. take the current time before an operation, take it after, subract, report it to yourself. Also, try working with an array that is actually b

Multiprocessing taking too much time

2010-07-29 Thread Shailendra
Hi All, I have a following situation. ==PSUDO CODE START== class holds_big_array:     big_array  #has a big array     def get_some_element(self, cond) # return some data from the array from the big array ==PSUDO CODE END I wanted