As much Stack Overflow as possible in 4096 bytes
1–10 of 77 posts
Re: As much Stack Overflow as possible in 4096 bytes
#2- I optimized for compression by doing things the same way everywhere; e.g. I always put the class attribute first in my tags
- I wrote a utility that tried rearranging my CSS, in an attempt to find the ordering that was the most compressible
Re: As much Stack Overflow as possible in 4096 bytes
#3Re: As much Stack Overflow as possible in 4096 bytes
#4Re: As much Stack Overflow as possible in 4096 bytes
#5Some of the workarounds he mentions at the end of his Trello in 4096 bytes[1] post seem really interesting: - I optimized for compression by doing things the same way everywhere; e.g. I always put the class attribute first in my tags - I wrote a utility that tried rearranging my CSS, in an attempt to find the ordering that was the most compressible [1] http://danlec.com/blog/trello-in-4096-bytes
Compression algorithms can do a better job when they're domain-aware. An HTML-aware algorithm could compress HTML much better than a general-use plain-text compression algorithm, without requiring the user to do things like put the class attribute first. Of course, that also requires the decompression algorithm to be similarly aware, which can be a problem if you're distributing the compressed bits widely.
Re: As much Stack Overflow as possible in 4096 bytes
#6I wrote a tire search app a few years back and made it work extremely fast given the task at hand. But I did not go to the level that this guy did. http://tiredb.com
Re: As much Stack Overflow as possible in 4096 bytes
#7Re: As much Stack Overflow as possible in 4096 bytes
#8Re: As much Stack Overflow as possible in 4096 bytes
#9Very impressive. I wish extreme performance goals and requirements would become a new trend. I think we have come to accept a certain level of sluggishness in web apps. I hate it. I wrote a tire search app a few years back and made it work extremely fast given the task at hand. But I did not go to the level that this guy did. http://tiredb.com
http://info.cern.ch/hypertext/WWW/TheProject.html
If we could cram more modern functionality into say...twice or three times the performance of the above, I think the web would be a better place. Instead the web is a couple orders of magnitude slower.
Re: As much Stack Overflow as possible in 4096 bytes
#10My only thoughts are that search is the real bottleneck.