You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When searching my Simple Storage Network for descriptions on vault items, the game does a lot of processing and my framerate drops.
For example, when I search for "#shovelling" to look for shovelling jewels, the framrate drops.
To Reproduce
Put lots of items in a Simple Storage Network, including lots of vault items and Jewels
Search for a description term that appears in vault items e.g. "#shovelling"
Expected behavior
The framerate should not drop when searching vault item descriptions.
Screenshots or Crash Report
Here's a snapshot I got while using a CPU profiler. It looks like a significant portion of CPU time is spent compiling regex patterns. If possible, this should just be done once.
Additional context
This doesn't happen when searching items that are not from 'The Vault'.
The text was updated successfully, but these errors were encountered:
ChrisLane
changed the title
Simple Storage Network lag when searching item descriptions
Simple Storage Network framerate drop when searching item descriptions
Mar 19, 2023
Describe the bug
When searching my Simple Storage Network for descriptions on vault items, the game does a lot of processing and my framerate drops.
For example, when I search for "#shovelling" to look for shovelling jewels, the framrate drops.
To Reproduce
Expected behavior
The framerate should not drop when searching vault item descriptions.
Screenshots or Crash Report

Here's a snapshot I got while using a CPU profiler. It looks like a significant portion of CPU time is spent compiling regex patterns. If possible, this should just be done once.
Here's a snapshot exported from VisualVM:
slow-search-snapshot.nps.zip
Info (please complete the following information):
Additional context
This doesn't happen when searching items that are not from 'The Vault'.
The text was updated successfully, but these errors were encountered: