Arelle/Arelle — pull request #38 by gmongelli (2014-12-02 17:39:27+00:00)
Title: Performance improvement byusing database indices

Please only apply this pull request after having handled #37 (DECIMAL attribute handling). This pull request also contains all the changes from that pull request as it cannot work reliably without it.

In this pull request we index the facts by using the indices provided by a database like SQLite.

The loading of an instance is slower. The table rendering is accelerated!

There is a new dependence on SQLAlchemy. This makes it possible to use any available database.

For the time being, a SQLite memory database is hard-coded.

Moreover, for the EBA compliance, NIL facts are removed when performing the EBA compliance improvements.