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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9db882405e08110 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Large Look-up Table question ? Date: 1999/06/07 Message-ID: <7jgup6$srv$1@nnrp1.deja.com>#1/1 X-Deja-AN: 486706401 References: <375299F4.CDEA8A81@hotmail.com> <375BB1C6.4E4B79A9@hotmail.com> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Mon Jun 07 17:16:31 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-06-07T00:00:00+00:00 List-Id: In article <375BB1C6.4E4B79A9@hotmail.com>, Nick Wilson wrote: > reading all the data from the file as it's highly likely that the actual > entries of the matrix will change and so the easiest way to be able to set > them all is by having an external file rather than hardcoding them. It means > a longer initialisation time to read them into an array and if it's too slow > then I might have to go with a linked list of them. :) We also have a problem here with initilization time reading several large tables. The approach we *plan* on taking (supposedly it worked on past projects) is to, in an offline mode, read in and parse the files from their human readable format. Then we will dump the table's data to another disk file (possibly using TableTypeName'Output). When we are running online, we will just read the data files straight into the data structure. That way we don't waste online time parsing human-readable files. -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.