There are a couple of changes which might speed up the creation of the stats by the engines:
- Use a value array for Statistics (really requires
- Use a hash table instead of a binary sorted list for the scopes.
- Review whether creating atoms for the scope names is worth while. (Should it store activity ids/other instead and dynamically create the names?)