Skip to content

Commit

Permalink
Minor refactoring and performance features.
Browse files Browse the repository at this point in the history
The refactoring is mostly confined to the SQL 'ORDER BY' generator. I
had intended to make it more powerful, but that turned out to be more
work than I expected. Instead, I'll settle for clearer code.

The performance features aren't likely to be useful unless you're doing
heavy analysis or are using nfldb to power a web site. Briefly, several
`fill` functions have been added to nfldb's entity types that will, for
example, fill in a list of plays with drive and game data using as few
queries as possible. Currently, this will fall over with >5000 items
because of PostgreSQL limits, but future work will fix this using some
sort of batching mechanism.
  • Loading branch information
BurntSushi committed Aug 13, 2014
1 parent ebd4d3b commit c1bc319
Show file tree
Hide file tree
Showing 5 changed files with 516 additions and 491 deletions.
51 changes: 0 additions & 51 deletions TODO

This file was deleted.

Loading

0 comments on commit c1bc319

Please sign in to comment.