Dal jsem dohromady Bibli (4MB) a gay sex povidky (2MB) a sjel to mym programem na generovani textu:
033:012 Blessed is he who waits, and comes presumptuously on his cock. "You like it, it is nice, yes?"
048:016 the angel who has redeemed me from all evil, bless the lads, and let mytongue begin to slowly lick the mushroom head of his prick. Then I let my tongue travel up and down the length of his rock hard dick into his nephew's steaming hot mouth. Kevin obediently did so, sucking every last drop of semen from his cousin's naked body flashed in huge red letters at the top followed by "Starring Baby Boi K" He squealed as he blew. His balls shook above me as he pulled his cock free.
045:018 For thus says Yahweh who created the heavens, the God who formed the earth and made it, who established it up as Snyder's other hand, wrapped firmly around his manhood, forced the flaming red head of the prick between the kid's lips and into a third floor apartment. It was spare but vain words),
050:016 But to the wicked God says, "Take it, bitch. Take my cum," and I feel his cock explode in my ass and his cock was rubbing against each other slowly changing rooms.
004:011 Then I asked him, "What are these two olive branches, and branches of wild mix of just-shot cum into my throat. One after another blast as he slowed down his pumping in my ass. i felt his lips on my chest and then chin as he licked up all my cum as it spilled into his throat. When he sucked me dry he presented me his cock. The sound of the guy moaning and saying, "Hosanna to the son of Jeduthun and Hosah to be doorkeepers;
Na kazdou pozici v korpusu se udela pointer a tyto se reverzne lexikograficky setridi pomoci qsort(). Pak se vzdy pointer na posledni znak retezce vyhleda binarnim vyhledavanim a nasledujici znak se prida k retezci a proces se opakuje.
Tenhle algoritmus me napadl pote kdyz jsem konecne z tech prekomplikovanejch vysvetleni pochopil tu trivialni ideu, na ktery je zalozena Burrows-Wheelerova transformace.
Mikulas Patocka prohlasil, ze to chodi lip jak ten Hubickuv program :)