Skip to content

Commit

Permalink
Use memoization in Dir_contents.
Browse files Browse the repository at this point in the history
- Replace all occurrences of lazy in the file with Memo.lazy_.

- Make all the rules generated by get be only produced when forcing the root of the directory group (and not individual subdirectories) so the behavior is more well-defined. In the future we'll need a proper mechanism that sorts the rules by directory, but at the moment the rule collectors play that role.

Signed-off-by: Arseniy Alekseyev <aalekseyev@janestreet.com>
  • Loading branch information
aalekseyev committed Mar 28, 2019
1 parent f40a705 commit ffbec34
Show file tree
Hide file tree
Showing 7 changed files with 253 additions and 157 deletions.
Loading

0 comments on commit ffbec34

Please sign in to comment.