Skip to content

Commit

Permalink
Improve AE NBT comparison performance for #916
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jul 19, 2013
1 parent 0488783 commit f29a975
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions resources/patches.xml
Expand Up @@ -1495,13 +1495,15 @@
<class id="appeng.me.CellInventory">
<synchronize>^all^</synchronize>
</class>
<class id="appeng.util.ItemList">
<synchronize/>
</class>
<class id="appeng.util.Platform">
<synchronize>getSharedTagCompound</synchronize>
<synchronize field="$2">addStackToList</synchronize>
<synchronize field="$1">addStackToList</synchronize>
<insertBefore code="{
if ($1 == $2) {
return true;
}
if ($1 == null || $2 == null) {
return false;
}
}">NBTEqualityTest</insertBefore>
</class>
<class id="appeng.me.tile.TileController">
<replaceInitializer field="WaitingQueue" class="nallar.collections.ConcurrentLinkedQueueList"/>
Expand Down

0 comments on commit f29a975

Please sign in to comment.