alex / rply

An attempt to port David Beazley's PLY to RPython, and give it a cooler API.
BSD 3-Clause "New" or "Revised" License
381 stars 60 forks source link

no way to disable caching #45

Closed jwilk closed 9 years ago

jwilk commented 9 years ago

There isn't any way to disable caching. README seems to imply that caching is only enabled when you supply cache_id, but this is not quite the case. If you don't provide cache_id, RPLY will generate random cache id for you. This means that the parser tables will be stored on disk, but most likely will be never read back. It sounds wasteful to me.

jwilk commented 9 years ago

Looks good to me. Thanks!