1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-22 14:19:49 +01:00

Dev: Correct big O notation

This commit is contained in:
Allan Jardine 2018-06-14 11:23:19 +01:00
parent 83199449f4
commit c5f9168fb3
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
48b260a1436579fac82a5fee5855229c3c49dd79
18decc7bca8f0860e93344bd8fd1e017c2da7c6d

View File

@ -7814,7 +7814,7 @@
a = displayFiltered.slice();
}
else if ( search == 'removed' ) {
// O(2n) solution by creating a hash map
// O(n+m) solution by creating a hash map
var displayFilteredMap = {};
for ( var i=0, ien=displayFiltered.length ; i<ien ; i++ ) {