| MATLAB Central > MATLAB Newsreader > New challenge! Minimizing the amount of 'unnecessa... |
|
|
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Nike Dattani Date: 11 Mar, 2011 01:41:04 Message: 1 of 15 |
|
Hello everyone ! |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 11 Mar, 2011 02:51:05 Message: 2 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <ilbujg$rbl$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Roger Stafford Date: 11 Mar, 2011 06:37:04 Message: 3 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <ilbujg$rbl$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Roger Stafford Date: 11 Mar, 2011 08:33:05 Message: 4 of 15 |
|
"Roger Stafford" wrote in message <ilcfug$30o$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Nike Dattani Date: 12 Mar, 2011 17:53:06 Message: 5 of 15 |
|
Thanks very much James and Roger for being so helpful in assisting me with this sticky point !! |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 13 Mar, 2011 01:43:04 Message: 6 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <ilbujg$rbl$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 13 Mar, 2011 19:04:04 Message: 7 of 15 |
|
"James Tursa" wrote in message <ilh7f8$l2l$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 13 Mar, 2011 19:32:05 Message: 8 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <ilbujg$rbl$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Nike Dattani Date: 14 Mar, 2011 02:39:04 Message: 9 of 15 |
|
"James Tursa" wrote in message <ilj63l$kr6$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 14 Mar, 2011 05:49:04 Message: 10 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <iljv48$pkf$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 14 Mar, 2011 14:56:05 Message: 11 of 15 |
|
"James Tursa" wrote in message <ilj4f4$757$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Nike Dattani Date: 24 Mar, 2011 01:50:19 Message: 12 of 15 |
|
Hello! |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 24 Mar, 2011 03:22:05 Message: 13 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <ime80q$ndv$1@fred.mathworks.com>... |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: Nike Dattani Date: 26 Mar, 2011 03:58:04 Message: 14 of 15 |
|
> Well, now I am not sure where you are going with this. Whole array operations in MATLAB can be pretty fast. Array *slice* operations in MATLAB can be pretty slow, especially in a for loop. Doing array operations in C or Fortran using loops can be pretty fast. Doing array operations in Fortran using whole array or array slice notation can also be pretty fast depending on the compiler and how you are doing the slices. I have given you the C code for what you want, and I would expect this will beat anything you can come up with on the MATLAB side, potentially by quite a bit. What more do you want at this point? Do you have other code that has the same issues, or what? |
|
Subject: New challenge! Minimizing the amount of 'unnecessary memory' ! From: James Tursa Date: 26 Mar, 2011 05:23:04 Message: 15 of 15 |
|
"Nike Dattani" <dattani.nike@gmail.com> wrote in message <imjo8c$b56$1@fred.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
