roysmith/wp-sock-classifier

Only look up user_id once

Opened this issue · 0 comments

In get_features.py, we have a bunch of queries which do joins on the actor table. Many of these can be eliminated by doing a single lookup to map username->user_id, then just using the user_id everywhere else.