Fast lookup of bulky "table"

rbowman bowman at montana.com
Mon Jan 16 20:47:19 EST 2023


On Mon, 16 Jan 2023 12:28:37 -0500, Thomas Passin wrote:

> On 1/16/2023 11:56 AM, rbowman wrote:
>> On 16 Jan 2023 15:14:06 GMT, Stefan Ram wrote:
>> 
>> 
>>>    When none of those reasons matter, one can use dictionaries in
>>>    Python as well. And then what Chandler Carruth showed us applies:
>> 
>> I am missing something. Where is the data in your dictionary coming
>> from?
> 
> It would get imported on startup.  This is assuming that the data does
> not get changed during operation, which the OP said is the case.

Okay, so there is no data loss if the program or machine crashes. That 
makes sense. In the cases Where I'm using SQLite the input data consists  
of relatively expensive spatial queries that are processed and written out 
to persist the results for use by other applications in the suite. 


More information about the Python-list mailing list