[DGD] Max String Size
Noah Gibbs
angelbob at monkeyspeak.com
Mon May 27 21:52:39 CEST 2002
On Mon, 27 May 2002, Lord Lerkista wrote:
> Now i have other problem when i try to read_file a big file (a 2M text
> file) i get Out of ticks in the read_file =/
Yup. You only get so long to do stuff, so a large file read or other
time-consuming operation can time out.
> How can i fix that?? raising the max of ticks?? where??
You might be able to raise the max ticks, but it's a better idea usually
to divide the task up into multiple threads. The Phantasmal ObjectD and
Geir Harald Hansen's ObjectD both do this. You can read a mini tutorial
on how to do it at
"http://phantasmal.sourceforge.net/DGD/Kernel/Threading.html", at least if
you're using the Kernel MUDLib. Doing it with another MUDLib (for
instance Melville) is similar, but you have fewer things to do if you want
to do it badly, and more things to do if you want to do it well. Much of
the tutorial still applies.
--
angelbob at monkeyspeak.com
See my page of DGD documentation at
"http://phantasmal.sourceforge.net/DGD/"
If you post to the DGD list, you may see yourself there!
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list