CompatInfo 4.0.0 with a real cache.

Yesterday, I’ve introduced that development of new major version 4.0 of CompatInfo has started.

Perhaps you should asked how did I’ve improved analysis speed ?

CompatInfo v3 suffered that the cache plugin only wrote AST (Abstract Syntax Tree) results (from PHP-Parser), and always compute again and again, the same data.

Now v4 will store in cache with the AST, each versions (php and extension) computed. Next analysis will never search reference again if source was not modified.

But it’s not enough to gain speed and reduce comsuption memory.

All references will be hosted on a local SQlite3 database. That will also solve issue #135.

More news tomorrow !

Published by Laurent Laville on 2014-12-16