Coder Social home page Coder Social logo

varepsilon / varsync Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.91 MB

Automatically exported from code.google.com/p/varsync

Makefile 0.80% Vim Script 1.01% C 63.53% Ruby 0.28% Perl 2.43% Shell 21.76% C++ 0.09% TeX 0.64% Python 0.16% Objective-C 0.64% Roff 8.65%

varsync's People

Contributors

varepsilon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

varsync's Issues

The length of strong checksum (s2length) is too big

s2length in the original rsync  depends on the file size and in most cases 
it is about 2 or 3 bytes, while we use 8 bytes. This leads to decrease in 
speedup. This decrease is significant for small files, but isn't 
noticeable for bigger files.
There are some ways to improve situation (see source code for more 
details).

Original issue reported on code.google.com by [email protected] on 24 Jul 2009 at 11:12

Optimize checksum1: one residue == 3 bytes!

At this time checksum1 converts one byte from buf to residue modulo 
2^31-1. Unlike that, checksum2 uses PVAL() macro and convert _two_ bytes 
from buf to residue. This gives good performance enhancement.

Original issue reported on code.google.com by [email protected] on 25 Jul 2009 at 8:10

Security hole in checksum2

Checksum2 now converts 4 adjacent bytes to uint32 and then to residue 
modulo 2^31-1. But you can easily generate two different tuples which will 
be converted to different uint32 but to the same residue modulo 2^31-1!

Original issue reported on code.google.com by [email protected] on 25 Jul 2009 at 6:13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.