No description
Find a file
Ricardo Band 89f47e6e60 Update README.md
You could also add comparision to [python-lolcat](https://pypi.python.org/pypi/lolcat):

```bash
$ dmesg > foo
$ time python-lolcat foo
real	0m1.503s
user	0m1.609s
sys	0m0.012s
$ time c-lolcat foo
real	0m0.055s
user	0m0.051s
sys	0m0.000s
```
2016-10-27 11:17:46 +02:00
memorymapping@79ce0ddd0d Compile dynamically linked executables on MacOS 2016-04-28 22:40:14 +02:00
musl@fb58545f8d Link statically against musl 2015-07-07 02:49:51 +02:00
.gitignore Added little censoring script 2015-07-14 22:09:19 +02:00
.gitmodules Compile dynamically linked executables on MacOS 2016-04-28 22:40:14 +02:00
censor.c Improve interop 2016-04-28 22:55:06 +02:00
LICENSE Added a LICENSE 2014-10-24 11:13:57 +02:00
LOLCat-Rainbow.jpg Fixed the cat picture's filename 2014-10-25 16:57:53 +02:00
lolcat.c Compile dynamically linked executables on MacOS 2016-04-28 22:40:14 +02:00
Makefile Make install dir customizable 2016-09-05 21:22:39 +02:00
PKGBUILD Add Arch linux PKGBUILD 2016-09-05 21:22:51 +02:00
README.md Update README.md 2016-10-27 11:17:46 +02:00
screenshot.png Added a screenshot 2014-10-25 16:56:32 +02:00
sl.gif Adding cool sl gif. 2015-07-12 22:56:40 +02:00

What?

Screenshot

Installation

Archlinux

There's an AUR package:

$ yaourt -S c-lolcat

Others

$ make && sudo make install

Why?

This lolcat clone is an attempt to reduce the world's carbon dioxide emissions by optimizing inefficient code. It's >10x as fast and <0.1% as large as the original one.

newton~/d/lolcat <3 dmesg>foo
newton~/d/lolcat <3 time upstream/bin/lolcat foo
13.51user 1.34system 0:15.99elapsed 92%CPU (0avgtext+0avgdata 10864maxresident)k
0inputs+0outputs (0major+1716minor)pagefaults 0swaps
newton~/d/lolcat <3 time ./lolcat foo
0.02user 0.00system 0:00.09elapsed 34%CPU (0avgtext+0avgdata 1936maxresident)k
0inputs+0outputs (0major+117minor)pagefaults 0swaps