Welcome, Guest! Log In | Create Account

Ticket #137 (closed patch: fixed)

Opened 2 months ago

Last modified 2 months ago

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

ResourceManager-faster-resource-retrieval.patch (2.2 KB) - added by andris11 2 months ago.

Change History

Changed 2 months ago by andris11

Changed 2 months ago by borrillis

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.8.0.0-B2

committed in changeset:1859

Note: See TracTickets for help on using tickets.