Skip to content

Replace use of CSV files with sqlite database #81

@Notgnoshi

Description

@Notgnoshi

I can't think of a thread safe way to:

  • append generated haiku to generated.csv
  • dynamically update the upper bound for /generated/{n} on file updates
  • return the nth generated haiku from generated.csv

without stupid amounts of file I/O.

The same applies to the training set, but to a lesser degree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggluebehind-the-scenes work to improve interactions between featuresimprovementAn improvement of an existing featurewebsite

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions