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 5aa88d8 commit ecd11dd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions resources/patches-deobfuscated.xml
Expand Up @@ -1681,10 +1681,15 @@
<class id="appeng.me.CellInventory">
<synchronize>^all^</synchronize>
</class>
<class id="appeng.me.Platform">
<synchronize>getSharedTagCompound</synchronize>
<synchronize field="$2">addStackToList</synchronize>
<synchronize field="$1">addStackToList</synchronize>
<class id="appeng.util.Platform">
<insertBefore code="{
if ($1 == $2) {
return true;
}
if ($1 == null || $2 == null) {
return false;
}
}">NBTEqualityTest</insertBefore>
</class>
<class id="appeng.api.me.tiles.IGridMachine">
<newMethod code="public abstract void tickNetwork();"/>
Expand Down

0 comments on commit ecd11dd

Please sign in to comment.