mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
Revert "Add faster array compare function"
This reverts commit d7cc4be585.
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
/*
|
||||
Kilzone_Kid's megafast isEqual function
|
||||
params [array1,array2]
|
||||
|
||||
Examples:
|
||||
hint str ([[1,2,3], [1,2,3]] call fnc_isEqual); //true
|
||||
hint str ([[1,[2,[3]]], [1,[2,[3]]]] call fnc_isEqual); //true
|
||||
hint str ([[1,[2,[3]]], [1,[2,[4]]]] call fnc_isEqual); //false
|
||||
*/
|
||||
|
||||
switch (_this select 0) do {
|
||||
case (_this select 1) : {true};
|
||||
default {false};
|
||||
};
|
||||
Reference in New Issue
Block a user