Skip to content

Commit

Permalink
Fixup of setTableEntry performance
Browse files Browse the repository at this point in the history
FullBleed complained on Discord about the performance of this MTscript
function.  It turns out that the algorithm is O(n), so putting 3200
entries in a table gets seriously slow.  Fixing this will require the
supporting `LookupTable` class to have its own `setTableEntry` method.
This commit is some simpler formatting and refactoring fixes; the next
commit will be more substantial in regards to the actual fix.
  • Loading branch information
Azhrei committed Apr 30, 2024
1 parent 143be39 commit e1796d2
Show file tree
Hide file tree
Showing 3 changed files with 391 additions and 370 deletions.
Loading

0 comments on commit e1796d2

Please sign in to comment.