Preload resources into cache memory
Moderator: Graf Zahl
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Preload resources into cache memory
Lesson: Be careful when defining hash functions for the TMap class. The old one was bad and only looked at x and y coordinates for the vertices so everything with the same z-coordinate ended up in the same bucket and the search in there took too long.
- Tiger
- Developer
- Posts: 863
- Joined: Thu Feb 25, 2010 3:44
- Location: United States
- Contact:
Re: Preload resources into cache memory
Seems that I was incorrect about the textures causing the latency, but instead it was the 3D Models that caused the interruption. Running the HiRes textures by itself ran perfectly fine with no interruptions, but running the 3D models reproduces the latency I originally described from the topic. With the models causing such intensive interruptions, is there a way to possibly resolve this latency?
Nicholas 'Tiger' Gautier