in reply to how do hashes work - complexity question
for(1..5){ # of those smaller ones for(1..100){ # number of steps i do when iterating through the smal + table for(1..10000){ # number of steps i do when iterating through big t +able //select a row } } }
If so you're not using your db very efficiently. But it's hard to say as you didn't show us you query. Generally if you are able to improve performance using hash, then you can improve performance of SQL query using indexes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how do hashes work - complexity question
by holli (Abbot) on Jul 11, 2009 at 09:19 UTC | |
by zwon (Abbot) on Jul 11, 2009 at 11:51 UTC | |
|
Re^2: how do hashes work - complexity question
by baxy77bax (Deacon) on Jul 11, 2009 at 09:28 UTC | |
by zwon (Abbot) on Jul 11, 2009 at 11:37 UTC | |
by Anonymous Monk on Jul 11, 2009 at 10:06 UTC |