[DGD] DGD 1.5.3 and Hydra 1.3

Felix A. Croes felix at dworkin.nl
Mon Aug 22 08:17:46 CEST 2016


bart at wotf.org wrote:

> > I have followed your suggestion, but it's time to start weaning yourself
> > away from strings longer than 64K.  Take a look at /lib/String in the
> > cloud library to see in which direction I think you should be moving.
>
> I've been looking at such a solution, and it seems desirable, if only to
> ensure parse_string can actually generate a parse tree without overrunning the
> max array size. 64k may already be too large for that in some cases.
>
> But it also seems to me error strings could easily get longer then 64k when
> using them to pass information out of an atomic function (the atomic_message
> mechanism) in case of errors. Trying to encode extra information in error
> messages is how I ended up wanting a larger max string size to begin with many
> years ago.

In that case, use long strings when you have to, and the cloud lirary's
solution in other cases.

Regards,
Felix Croes



More information about the DGD mailing list