Large attributes delay Properties window

Issue Type: Performance
Impact: High
Frequency: Constantly
Date First Experienced:
Date Last Experienced:

Reproduction Steps:

local t=Instance.new('Folder',workspace)
t:SetAttribute('Long',('a'):rep(1e6))


Select the folder and you will see a noticeable delay.

Expected Behavior:
I want the properties window to instantly update when I change my selection. The preview text is already being visually clipped (I like this), so I imagine there is the possibility of lazily doing w/e work is required that makes it so viewing the unclipped contents is instant (see the behavior video)

Actual Behavior:
There is a noticeable delay.

Workaround:

2 Likes

Thanks for the report!

As you can expect there might be some performance implications when using attributes of this size. Could you share a little more about what you’re trying to do?

4 Likes

I’m using string attributes to serialize tables gotten from httpservice:

  • Game/framework data from google sheets
  • Roblox api dump

Because of the 2e5 limit (or 2e5-1, idr exactly), previously I’d create an array of StringObjects, and 2e5 was small enough so that I’d never experience this issue.

3 Likes