diff --git a/readme.md b/readme.md index 9a7e047..09e6d4a 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,7 @@ + + ## Introduction -This is an implementation Content Defined Chunking based on [Rabin Footprint ](http://www.cs.cmu.edu/~hakim/software/).It is extracted from the source code of [seafile](https://github.com/haiwen/seafile) project. +This is an implementation of Content Defined Chunking based on [Rabin Footprint](http://www.cs.cmu.edu/~hakim/software/). It is extracted from the source code of [seafile](https://github.com/haiwen/seafile) project. You can build this project by running `make`. @@ -8,11 +10,11 @@ You can build this project by running `make`. ![cdc](http://baixiangcpp.oss-cn-shanghai.aliyuncs.com/github/cdc.gif) -## Set min block size and max block size +## Set min block size and max block size ``` #define CDC_MIN_BLOCK_SIZE (6 * (1 << 20)) /* 6MB */ #define CDC_MAX_BLOCK_SIZE (10 * (1 << 20)) /* 10MB */ ``` -If you need the block to be larger or smaller,just change these macros in `cdc.c` to the value you need. +If you need the block to be larger or smaller, just change these macros in `cdc.c` to the value you need.