View Single Post
Old 03-10-2012, 04:39 PM   #27
pdurrant
The Ghost Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,172
Karma: 88705640
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by Joykins View Post
Hm...10 minutes to 5 seconds is v. impressive!
Having peeked at the code, it seems to be down to two things.
  1. A native (compiled C++ code) implementation of the encryption algorithm
  2. Using a more efficient way of concatenating blocks of data in python

The first is mostly responsible for the speed up on small files.
The second is mostly responsible for the speed up on big files.

Obviously, both help with both small and big files, but that's the way the benefits seem to split.
pdurrant is offline   Reply With Quote