Volodya wrote:
> Michael Rogers wrote:
>> Thanks! Here's the Java version of the poem generator (same dictionaries
>> as before).
> 
>> Cheers,
>> Michael
> 
> Have you tried to give it enough words to represent a full key? I have a 
> feeling that what might be needed to
> not to load the whole file, but rather use it sax style. So you know that you 
> need 1047th line, and that is the
> only one you actually store in the memory. I'll see if i can improve on your 
> code a bit. I really loved it. q;-)
> 
>                  - Volodya

This is basically the same thing but it doesn't load anything in the memory 
that doesn't need to be there. Do
with it as you will.

                    - Volodya

-- 
http://freedom.libsyn.com/       Voice of Freedom, Radical Podcast
http://eng.anarchopedia.org/     Anarchopedia, A Free Knowledge Portal

 "None of us are free until all of us are free."    ~ Mihail Bakunin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PoemKey.java
Type: text/x-java
Size: 1739 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20071206/73a4abf2/attachment.java>

Reply via email to