0
This repository has been archived on 2025-04-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Minecraft-Overviewer/overviewer_core
Nicolas F 864be71667 textures: cache when a texture couldn't be found
Previously, textures that couldn't be found the first time around
would not have this fact cached, so we'd run through the whole
slow path of find_file with each blockid and data entry.

This is what caused the chests texture generation function to take
almost 12 seconds on my system, as it is looking for "normal.png"
that hasn't existed in Minecraft textures for ages.

Shoving the exception, if one is encountered, into the cache, and
then re-raising it if we load it from the texture cache brings this
number down to about 2 seconds. That's six times as fast!

Concerns issue #1604.
2019-07-04 16:40:11 +02:00
..
2019-06-25 19:40:42 +02:00
2019-06-23 18:43:32 -07:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2019-03-07 15:43:01 +01:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2016-11-29 09:13:42 -05:00
2019-06-23 12:47:05 -04:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2017-03-16 18:25:55 +01:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2019-03-17 17:57:07 +01:00
2019-04-20 10:36:53 +01:00
2019-06-25 19:19:28 +02:00