News for hackers. Stuff that matters.
Re:Google releases snappy, the compression library used in B... by lemming on Tuesday March 22, 2011 @07:12PM (#2357008)
"The LZO algorithms and implementations are copyrighted OpenSource distributed under the GNU General Public License."

Does this even make sense? Can you apply the GPL to an algorithm? As I understand it, if there's no patent I should be able to implement it with no problems.

Re:Google releases snappy, the compression library used in B... by wmf on Tuesday March 22, 2011 @07:22PM (#2357052)
People who want to upsell you a commercial version tend to say such things.
Re:Google releases snappy, the compression library used in B... by bhickey on Tuesday March 22, 2011 @07:41PM (#2357119)

    Be warned: the main source code in the 'src' directory 
    is a real pain to understand as I've experimented with 
    hundreds of slightly different versions. It contains 
    many #if and some gotos, and is *completely optimized  
    for speed* and not for readability. Code sharing of the 
    different algorithms is implemented by stressing the 
    preprocessor - this can be really confusing. Lots of 
    marcos and assertions don't make things better.
Given the author's statements, I don't know that I'd feel comfortable using LZO in a production environment.
Re:Google releases snappy, the compression library used in B... by malkia on Tuesday March 22, 2011 @11:56PM (#2357924)
We used it in our games since Ultimate Spiderman. I've got assembly version working on the PS2 IOP chip (33Mhz, the chip used to run PS1 games, otherwise I/O and sound for PS2).

I've got 5mb/s decompressed data speed, so that was speeding our disk access. I had to tweak just a little bit the source code and make sure unaligned writes (4 bytes) were used and that made it x2 or x3 faster.