mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-21 12:30:16 +08:00
Our DataFrame index resolution logic relies on failed lookups **not** being cached, but not caching failed lookups is a nontrivial performance hit when repeatedly looking up sids. The "solution" here is to clear the caches after writing in new assets. The real fix for this is either: 1. Don't construct an AssetFinder until we have the datasource in hand in run(), or 2. Don't symbol-map the user's input source if it's a DataFrame. Instead we should make our data loaders pre-map the data.