Critical bug with Collectionfactories (DEF-2661) (SOLVED)

Investigation shows this is down to handling reverse hashes, which is only done in debug mode.
Unfortunately, there is currently a problem with bundling the engine in release mode, see this post: PSA: Wrong engine version when bundling (SOLVED)

As stated above, a ticket is created for improving the reverse hashing performance.