>>109
>>110
The performance improvement is insignificant. The problem is clearly not the speed of calculating post ranges or iterating through a list whose length is less than 300.
``optimized'' quoted links are a legacy from 2channel and Shiichan, that's why they were implemented. They're the only dynamic content served, everything else is cached as HTML files. The bottleneck is the HTML generation from S-expressions. (btw SchemeBBS doesn't need Nginx, it works standalone, except for the CSS hack)
Futaba and other imageboards dropped that feature: they only have single ``unoptimized'' quotes, linking to an anchor in the thread. Someone even wrote a userscript to mimic this behaviour.
I have to rethink this. Of course, Nginx does some caching, so if you repeat the same query over and over that won't be a problem. Randomized requests on post ranges would be a disaster though. Flat file storage... Trade-offs between storing whole threads as HTML files or storing single posts in directories and having multiple disk accesses to display a single thread...