Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, I mean, if you ignore domain constraints, the following is a great compression algorithm:

    $infile = $ARGS[1]
    $outfile = $ARGS[2]
    touch $outfile
This was one of my favorite examples in Data Structures and Algorithms in college.



Except that's not lossless like I qualified.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: