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.
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'.