• Guolin Ke's avatar
    Refactor for RAII (#86) · 5442ed78
    Guolin Ke authored
    * RAII for utils, application and c_api(partical)
    
    * raii for class in include folder
    
    * raii for application and boosting
    
    * raii for dataset and dataset loader
    
    * raii for dense bin and parser
    
    * RAII refactor for almost all classes
    
    * RAII for c_api
    
    * clean code
    
    * refine repeated code
    
    * Decouple the "sigmoid" between objective and boosting.
    
    * change std::vector<bool> back to std::vector<char> due to concurrence problem
    
    * slight reduce some memory cost
    5442ed78
bin.cpp 7.1 KB