Skip to content

Commit

Permalink
add index
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyuwei committed Apr 6, 2024
1 parent 0c07932 commit a8cea37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
)
''')

c.execute('CREATE INDEX IF NOT EXISTS idx_word ON words(word);')
c.execute("PRAGMA journal_mode=WAL")

# Insert data
for word, details in data.items():
c.execute('''
Expand Down
Binary file not shown.

0 comments on commit a8cea37

Please sign in to comment.