Skip to content
  • sdong's avatar
    Clean PlainTableReader's variables for better data locality · 80f409ea
    sdong authored
    Summary:
    Clean PlainTableReader's data structures:
    (1) inline bloom_ (in order to do this, change DynamicBloom to allow lazy initialization)
    (2) remove some variables only used when initialization from the class
    (3) put variables not used in normal read code paths to the end of the class and reference prefix_extractor directly
    (4) make Options a reference.
    
    Test Plan: make all check
    
    Reviewers: haobo, ljin
    
    Reviewed By: ljin
    
    Subscribers: igor, yhchiang, dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D18891
    80f409ea