Function python_packed_resources::load_resources
source · [−]Expand description
Parse a packed resources data structure.
The data structure is parsed lazily via an iterator that emits reconstructed Resource instances.
Performance note: we once attempted to switch to anyhow for error handling and this decreased performance by ~15%. Given the performance sensitivity of this code, we need to keep error handling primitive.