I agree with Erez and Bart.

BTW, I currently notice some delay when starting ply (my compiler,
http://zxbasicand) for the first time it generates LALR tables, and they
might be useful for other purposes.

On the other hand, I understand you want to clean up PLY (e.g. this makes
it simpler and more maintainable). Maybe you could move that code out, to a
different module or something?

Regards,
Jose

2012/4/27 Bart Whiteley <[email protected]>

> I agree with Erez. I would like to see this optimization remain in some
> form.
>
> On Thu, Apr 26, 2012 at 10:48 PM, Erez Sh <[email protected]> wrote:
> > Half a second is quite a while, imho. ply can be useful for many types
> > of software, not just compilers, and a delay in the loading time can
> > really affect their usability.
> > As an alternative, perhaps you could make the table object pickle-able
> > (and accessible), so that the caller can implement caching himself if
> > he finds it important. As a bonus, it could be stored elsewhere, like
> > in a database. Just an idea.
> >
> > On Thu, Apr 26, 2012 at 11:27 AM, David Beazley <[email protected]> wrote:
> >> 200 rules and nearly 350 states) on a modern machine only takes around
> a half a second.   Thus, I'm honestly wondering if I could just ditch all
> of th
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "ply-hack" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected].
> > For more options, visit this group at
> http://groups.google.com/group/ply-hack?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "ply-hack" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/ply-hack?hl=en.
>
>


-- 
Boriel      http://www.boriel.com

-- 
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en.

Reply via email to