A simple Json implementation for future use. (#4708)

* A simple Json implementation for future use.
This commit is contained in:
Jiaming Yuan
2019-07-29 21:17:27 -04:00
committed by GitHub
parent 9b9e298ff2
commit d2e1e4d5b4
7 changed files with 1816 additions and 1 deletions

View File

@@ -70,6 +70,10 @@ class PeekableInStream : public dmlc::Stream {
/*! \brief internal buffer */
std::string buffer_;
};
// Optimized for consecutive file loading in unix like systime.
std::string LoadSequentialFile(std::string fname);
} // namespace common
} // namespace xgboost
#endif // XGBOOST_COMMON_IO_H_