× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Thu, Nov 10, 2011 at 5:13 PM, Kurt Anderson
<kurt.anderson@xxxxxxxxxxxxxx> wrote:
I know we have programs that use [table files].  But it
has to then load the entire table, when I only want two
fields. Honestly I'm not concerned about the speed here.

Well, if you're not concerned about the speed, why are you bothering
with ANY of this? Why not just chain to the file every time you need
it?

If you mean you are concerned about repeated disk I/O but you're not
concerned about the *initial load* speed, then what's the harm in
reading the whole file? You only have to do it the one time right at
the beginning, and from that point on it's in memory.

OK, so it takes more memory than it has to, but then in another
message, you say you're not concerned about the memory usage (because
you're perfectly fine with allocating 100K array elements to store 10K
or 20K, and typically much fewer than that).

So I'm having a hard time figuring out what exactly you don't like
about the table file technique. I'm not saying it's the best
technique in your situation, and you are free to reject the idea on
any grounds whatsoever. You could even say "I don't like table files
because they are too old-school" or "Bob in the next cubicle loves
table files, and he's a total moron with an attitude and I hate his
guts, so I wouldn't be caught dead using his pet technique". Those
things, while not exactly rational, I can actually understand. I
don't understand "I won't use table files because I don't care about
speed and I don't care about memory, except when I do care about
memory".

John

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.