[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to deal with massive tables
- From: Glenn <glenn@...>
- Date: Fri, 08 Feb 2008 10:19:27 -0500
Glenn McAllister wrote:
Luiz Henrique de Figueiredo wrote:
There is a limit in the number of constants in a single source file set
Actually, the limit is per function. So you could do something like this:
-- populate some entries of T
-- populate some some entries of T
This and the CSV format are reasonable suggestions. I'll probably do it
this way, just so I don't have to write something to transform the CSV
BTW, in case anyone is wondering why I'm doing this, its to get the key
information out so I can then use it later to fetch data from a "cold"
database that doesn't already have the data in cache (its own or the
operating systems) so I can get some pessimistic timing data.
Thanks to Jermoe and Luiz for pointing out the problem and solution.
As a final follow up, I implemented the technique Luiz proposed and it
works like a charm. Thanks again.
Glenn McAllister <firstname.lastname@example.org> +1 416 348 1594
SOMA Networks, Inc. http://www.somanetworks.com/ +1 416 977 1414
Asking a writer what he thinks about criticism is like asking a
lamppost what it feels about dogs.
- John Osborne