Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Utilizer

I barely know how to turn my computer on, but might a better title to this post be: Can you structure a problem that can be finished faster on disk than in-memory? It pays to be specific.


2 posted on 03/26/2015 8:35:10 PM PDT by Wingy
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Wingy

I am required to post the article with the complete headline as originally printed, so as to not cause any problems with re-posts or searches.


19 posted on 03/26/2015 9:16:17 PM PDT by Utilizer (Bacon A'kbar! - In world today are only peaceful people, and the muzlims trying to kill them)
[ Post Reply | Private Reply | To 2 | View Replies ]

To: Wingy
Can you structure a problem that can be finished faster on disk than in-memory?

Are you talking 1970 or 2015?

If the problem fits in memory, then it can be solved in memory far faster than on disk. If not, then you need a strategy that takes the disparity of access times into account.

E.g., if the problem is sorting the donor file, then you need some sort of algorithm in which sorted subsets are written to disk, then read in and merged, written out again, until you end up with sorted output. Of course, if it's 2015, you just read in the damned file and sort it! Done!

In 2015, your laptop or your smartphone likely has way more RAM than a major glassed in, raised floor computer installation of the 1970's or 1980's had RAM plus disk.

51 posted on 03/27/2015 12:22:26 AM PDT by cynwoody
[ Post Reply | Private Reply | To 2 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson