Yann Collet
6e66bbf5dd
fixed several minor issues detected by scan-build
...
only notable one :
writeNCount() resists better vs invalid distributions
(though it should never happen within zstd anyway)
2018-08-14 16:55:35 -07:00
Yann Collet
a25d8000ec
Merge pull request #1278 from edenzik/fb/ezik/better-cmake-support-1081
...
Cmake now builds with CMAKE_BUILD_TYPE=Release by default
2018-08-13 18:38:05 -07:00
Eden Zik
a6df961497
Cmake now builds with CMAKE_BUILD_TYPE=Release by default, both while
...
being invoked from the main Makefile (via cmakebuild) or directly from
the build/cmake directory. Suggested by @pdknsk (#1081 ).
2018-08-13 20:28:52 -04:00
Yann Collet
973a8d42c7
Merge pull request #1236 from GeorgeLu97/paramgrillconstraints
...
ParamgrillConstraints
2018-08-13 15:44:50 -07:00
George Lu
0cc75d6ee0
Default lvl 1
...
MB to 2^20
2018-08-13 14:55:56 -07:00
George Lu
3ac2c22485
Reorder declaration
2018-08-09 16:38:32 -07:00
Yann Collet
754942cb79
fixed assert() condition
2018-08-09 15:57:19 -07:00
Yann Collet
79a35ac20d
minor code comments improvements
2018-08-09 15:16:31 -07:00
Yann Collet
601671a06e
Merge pull request #1273 from facebook/zstdgrep
...
added zstdgrep documentation
2018-08-09 12:35:49 -07:00
Yann Collet
51e71a5ec7
added zstdgrep documentation
...
presenting `zstdgrep` limit regarding dictionary compression
with workaround recommended by @tobwen (#1268 )
2018-08-09 12:28:25 -07:00
George Lu
bfe8392e23
Remove ctx from benchMem
2018-08-09 12:07:57 -07:00
George Lu
0ece2e5cdc
Add consts
...
+ fix gcc-8 warnings
2018-08-09 11:38:09 -07:00
George Lu
6f480927af
argument parsing cleanup
...
+ clarifying comment
2018-08-09 10:42:58 -07:00
George Lu
ad16a69408
Readability improvements, renaming
2018-08-09 10:42:58 -07:00
George Lu
8278a49cb6
const srcPtrs
2018-08-09 10:42:58 -07:00
George Lu
3d230db853
Change speed representation from floating point to integral
2018-08-09 10:42:58 -07:00
George Lu
8faeb41679
Update Documentation
...
Change comment // to /* */
Add more description of what functions do
Remove outdated comments
2018-08-09 10:42:58 -07:00
George Lu
dd270b2f75
Renaming / Style fixes
2018-08-09 10:42:58 -07:00
George Lu
e148db366e
Separate capacity vs size
...
Also:
Make suggested fixes
-varInds_t
-reorder some arguments
-remove code duplication
-update README / -h
-Fix memory leaks
2018-08-09 10:42:58 -07:00
George Lu
df026e159f
Fix windows implicit casting bugs
2018-08-09 10:42:58 -07:00
George Lu
0f91b039ff
Add Levels
2018-08-09 10:42:58 -07:00
George Lu
7b5b3d7ae3
BenchMem with block compressed sizes passed back up
2018-08-09 10:42:58 -07:00
George Lu
3adc217ea4
Total Changes:
...
Add different constraint types (decompression speed, compression memory, parameter constraints)
Separate search space by strategy + strategy selection
Memoize results
Real random restarts
Support multiple files
Support Dictionary inputs
Debug Macro for extra printing
2018-08-09 10:42:58 -07:00
George Lu
fab4438801
Dictionary + Multiple file Loading
2018-08-09 10:42:58 -07:00
George Lu
eb21b7f482
Not crashing
2018-08-09 10:42:58 -07:00
George Lu
5f49034520
Working V1
2018-08-09 10:42:58 -07:00
George Lu
cffb6da339
Parses additional parameters
...
Additional constraint checking
Minor fixes
more param parsing
Add Memory
Change paramVariation
work on feasibility
reformat bench
Changed Paramgrill to use bench.c benchmarking
customlevel macro
Printing Flag
Minor changes
Explicit casting
Makefile fix
casting, type fix
Printing Flag
Minor Changes
comments, helper fn's
2018-08-09 10:42:58 -07:00
Yann Collet
1bc69b9cb5
Merge pull request #1272 from facebook/travisTest
...
gcc-8 travis test
2018-08-08 14:56:00 -07:00
Yann Collet
48a421c1f0
Merge pull request #1271 from felixhandte/circleci-2.0-config
...
Migrate Config to CircleCI 2.0
2018-08-08 14:48:51 -07:00
W. Felix Handte
6518745024
Preserve Commented-Out Longer Tests
2018-08-08 14:09:12 -07:00
Yann Collet
d1afd48e44
some errors may only happen when optimizations are enabled
2018-08-08 12:37:08 -07:00
W. Felix Handte
0ede1735b0
Remove Old CircleCI Config
2018-08-08 12:33:21 -07:00
W. Felix Handte
4f5e4fe9ed
Fix Path
2018-08-08 12:32:55 -07:00
W. Felix Handte
9deef2c41b
Add an Auto-Gen'ed CircleCI 2.0 Config
...
Built via the cci-config-generator.sh script.
2018-08-08 10:28:22 -07:00
Yann Collet
23ab7875e1
try adding gcc-8 compilation tests
2018-08-08 10:26:54 -07:00
Yann Collet
93750a54a9
try to improve some travis test speed
2018-08-08 10:22:19 -07:00
Yann Collet
0d5813ca01
Merge pull request #1243 from facebook/fix1241
...
fix #1241
2018-08-08 10:18:02 -07:00
Yann Collet
3c491c8d92
Merge pull request #1269 from felixhandte/fix-fix1241
...
Fix fix1241: Fix CDict Attachment to Handle CDicts with Non-Zero Starts
2018-08-08 09:25:40 -07:00
W. Felix Handte
2ca7c69167
Fix CDict Attachment to Handle CDicts with Non-Zero Starts
...
CDicts were previously guaranteed to be generated with `lowLimit=dictLimit=0`.
This is no longer true, and so the old length and index calculations are no
longer valid. This diff fixes them to handle non-zero start indices in CDicts.
2018-08-07 18:14:14 -07:00
Yann Collet
5808027abf
Merge branch 'dev' into fix1241
2018-08-03 16:08:33 -07:00
Yann Collet
df09d4318f
Merge pull request #1263 from facebook/travisTest
...
Fix Makefile on Linux and ZSTD_NOBENCH
2018-08-03 15:57:22 -07:00
Yann Collet
2fdab1629b
fix unused variable warning
2018-08-03 08:30:01 -07:00
Yann Collet
ca785c4b20
fix .travis.yml
2018-08-03 07:59:33 -07:00
Yann Collet
5203f01774
fix : zstd cli can be built with build macro ZSTD_NOBENCH
...
which disables bench.c module
2018-08-03 07:54:29 -07:00
Yann Collet
b002eac69a
Merge branch 'dev' into travisTest
2018-08-02 11:53:46 -07:00
Yann Collet
064b8e6785
Merge branch 'travisTest' of github.com:facebook/zstd into travisTest
2018-08-02 11:52:12 -07:00
Yann Collet
5892dd5da4
Merge pull request #1255 from terrelln/norm-fix
...
[FSE] Fix division by zero
2018-08-02 11:48:56 -07:00
Nick Terrell
dc5a67cb7b
Disallow tableLog == srcLog
2018-08-02 11:12:17 -07:00
Jennifer Liu
0acb0abd1e
Add non-optimize FASTCOVER ( #1260 )
...
* Add non-optimize FASTCOVER
* Minor fix
* Pass param as value instead of pointer
2018-08-01 11:06:16 -07:00
Nick Terrell
1420129fda
Merge pull request #1258 from jennifermliu/fastCover
...
Use CDict instead of CCtx in analyzeEntropy
2018-07-31 14:31:05 -07:00