Ticket #137 (closed patch: fixed)
Faster resource retrieval
| Reported by: | andris11 | Owned by: | borrillis |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.0.0-B2 |
| Component: | Core Library | Version: | 0.8.0.0 (crickhollow) |
| Keywords: | Cc: |
Description
The ResourceManager? indexer getters will be more performant using IDictionary<>.TryGetValue?() instead the IDictionary<>.ContainsKey?() and IDictionary<>[key] sequence. Profiling using SlimTune? prooved this is an enhancement, for example texture resources are being retrieved heavily per frame.
trunk, changeset:1846
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
