Preload resources into cache memory

Moderator: Graf Zahl

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Preload resources into cache memory

Post by Graf Zahl »

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.
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: Preload resources into cache memory

Post by Tiger »

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
Locked

Return to “Closed Feature Suggestions”