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
Cliff Meyers 0a1560431a fix a bug where multiple renders of the same world led to repeat genPOI scans
the code that calls handleEntities in genPOI was building a list
of all filter funcs in the config, then used itertools.groupby to walk over
each region set, calling handleEntities and passing filters funcs for the rset.

this works fine when all of the renders point at a different world,
since rsets are sorted via __lt__ using the regiondir. when an rset appears in
the config multiple times, groupby can't sort the rsets reliably,
so a single rset is passed multiple times to handleEntities with only some
of the applicable filters. for a config with just two renders of the same world,
handleEntities would frequently be called 5-7 times instead of just 2.

this change eliminates group by, and just iterates over all the rsets, each
time plucking the list of applicable filters based on rset associated with
each filter (simple equality).
2020-04-15 07:34:54 -04:00
..
2020-02-13 18:35:20 +01:00
2020-02-14 21:26:34 +01:00
2019-07-24 09:49:25 +02:00
2019-12-23 23:50:20 +01:00
2019-03-07 15:43:01 +01:00
2019-07-24 09:35:52 +02:00
2016-11-29 09:13:42 -05:00
2019-06-23 12:47:05 -04:00
2019-12-26 17:28:51 +01:00
2019-03-17 17:57:07 +01:00
2019-07-09 13:44:43 +02:00
2019-03-17 17:57:07 +01:00
2019-07-12 17:48:32 +02:00
2019-04-20 10:36:53 +01:00
2020-02-14 21:21:58 +01:00