Closed zuyu closed 8 years ago
@zuyu did we run the TPCH query 8/9 on this?
@zuyu Also, when thinking about refactoring all the method names in EvictionPolicy.hpp from blockPastTenseVerb
to blockOrBlobPastTenseVerb
I think it seems too wordy.
Maybe we could make the naming more succinct to instead name them all of the form notifyPastTenseVerb(block_id block_or_blob)
.
What do you think?
BTW pastTenseVerb
is one of {created, evicted, unreferenced, referenced, deleted}
@cramja I did not run TPC-H over this PR. This just refactors a method internally.
@cramja Alternatively for EvictionPolicy
, we could add a comment before the class definition: block refers to a block or blob.
@zuyu I think the simplest thing here is to use you approach. I will make a PR for this.
Merging.
This refactor includes:
makeRoomForBlockOrBlob
.if-else
statement.