From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a3fe2aac201210c0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: reading a text file into a string Date: Sat, 24 Jul 2004 02:16:02 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de zgukXGlgYKtgDQUK4SXlnA2qA0mn+BCbQGg8JU3EYo0sTHBgI= User-Agent: Opera M2/7.51 (Win32, build 3798) Xref: g2news1.google.com comp.lang.ada:2363 Date: 2004-07-24T02:16:02+01:00 List-Id: On Sat, 24 Jul 2004 00:34:29 GMT, wrote: >> RAM revolution that has been going on for the last two >> decades ;-) >> >> My cheapo off-the-back-of-a-lorry PC has 1/2 GiB of RAM. > And how much fast memory (ie, cache) does it have? I'm not sure if you meant it, Tom, but that's precisely the point. Every machine has far less cache than main memory, but the cache memory is much faster (and on an SMP machine, private to each processor). So it can be a big advantage for the compiler to generate code and object placements that make optimum use of the cache (or to permit such placements). -- Nick Roberts