in reply to Effective data structures for join-type lookups
If you can install Perl, you can also install DBD::SQLite, which contains SQLite already.
You can also install DBD::CSV, which will do SQL over CSV files.
If you are all averse against installing modules, just use a hash of arrayrefs, where each hash contains as keys the join criteria for one table.
Basically, have your tables as arrays, and store in the hashe values the row indices for each row, and as keys use the join criteria.
I still recommend going with DBD::SQLite.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Effective data structures for join-type lookups
by flightdm (Acolyte) on Oct 03, 2016 at 22:20 UTC | |
by Your Mother (Archbishop) on Oct 03, 2016 at 23:54 UTC | |
by flightdm (Acolyte) on Oct 04, 2016 at 00:05 UTC | |
by RonW (Parson) on Oct 04, 2016 at 18:26 UTC | |
by Marshall (Canon) on Oct 06, 2016 at 01:14 UTC |