Skip to content

Significant Frame Drop (80-90%) during Table Variable Loading #77

Description

@Roma77799

Before running the ui, due to the large number of variables in the table, the FPS drops to 80–90 percent and freezes for 5–6 seconds. The same thing happens during a refresh.

`somevalue = {
"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten",
"eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen",
"eighteen", "nineteen", "twenty", "twenty-one", "twenty-two", "twenty-three",
"twenty-four", "twenty-five", "twenty-six", "twenty-seven", "twenty-eight",
"twenty-nine", "thirty", "thirty-one", "thirty-two", "thirty-three",
"thirty-four", "thirty-five", "thirty-six", "thirty-seven", "thirty-eight",
"thirty-nine", "forty"
}
local function one()
local names = {}
for name, _ in pairs(somevalue) do
table.insert(names, name)
end
table.sort(names)
return names
end

Tabs.visual:Dropdown({
Title = "loc:test",
Values = one(),
Value = "one",
Callback = function(Value)
getgenv().im = somevalue[Value]
end
})`
PLS FIX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions