Limit train samples (#2809)
* Limit training samples size to 2GB * simplified DISPLAYLEVEL() macro to use global vqriable instead of local. * refactored training samples loading * fixed compiler warning * addressed comments from the pull request * addressed @terrelln comments * missed some fixes * fixed type mismatch * Fixed bug passing estimated number of samples rather insted of the loaded number of samples. Changed unit conversion not to use bit-shifts. * fixed a declaration after code * fixed type conversion compile errors * fixed more type castting * fixed more type mismatching * changed sizes type to size_t * move type casting * more type cast fixes
Showing
- lib/dictBuilder/cover.c 7 additions, 0 deletionslib/dictBuilder/cover.c
- lib/dictBuilder/fastcover.c 7 additions, 0 deletionslib/dictBuilder/fastcover.c
- programs/dibio.c 149 additions, 78 deletionsprograms/dibio.c
- programs/dibio.h 2 additions, 2 deletionsprograms/dibio.h
- programs/zstdcli.c 3 additions, 3 deletionsprograms/zstdcli.c
Loading
Please register or sign in to comment