18F / rdbms-subsetter

Generates a subset of a relational database that respects foreign key constraints
Creative Commons Zero v1.0 Universal
313 stars 30 forks source link

use heapq.heappush to manage priority queue of rows for insertion #24

Open catherinedevlin opened 8 years ago

catherinedevlin commented 8 years ago

See recipe 1.5 of Python Cookbook, vol 3.

Haven't done the performance testing to verify that this is worth it. But, shiny!