title: Fastest way to store/retrieve a dictionary - SQL, text file...?
body: <p>I've got a text file of words and word frequencies. It's very large - theoretically we're talking millions of rows. </p>
  
  <p>I just want to retrieve values from the file, and do it as quickly and efficiently as possible (for a web app, in Django).</p>
  
  <p>My question is: what is the best way to store and retrieve the values? Should import them into SQL? Or keep the file and use grep? Or put them into a JSON dictionary...? Or some other way?</p>
  
  <p>Would be very grateful for advice!</p>