[Helma-user] file read and processing pretty slow. ideas?
Joshua Paine
joshua at papercrown.org
Mon Jul 16 10:44:27 CEST 2007
Hannes Wallnoefer wrote:
> You should be able
> to test the old, native code by just dropping the helma. prefix, using
> File(...) instead of helma.File(...).
If I do that, I get:
TypeError: Cannot find function open. (C:\...\anagrams.hac#3)
3: (f = File('c:/temp/wordlist.txt')).open();
I get equivalent errors for all the expected methods I've tried,
including getPath(). Same thing if I split it into two lines the way
normal people do.
Same thing if I access File as global.File.
helma.File works.
-Joshua
More information about the Helma-user
mailing list