Login Page - Create Account

Support Board


Date/Time: Mon, 10 Nov 2025 11:55:59 +0000



Post From: Fast Persistent Variables

[2025-10-22 14:41:50]
Sierra_Chart Engineering - Posts: 21358
The fast persistent variable functions, store data in STL vector as compared to an STL map and a vector is always going to be faster when there are a large number of elements.

With a vector, referencing the variable is always done as an offset to a memory address rather than having to perform a search to find the element.

Although thinking about it, will be able to speed up the STL map by using a hash map. We will look into that. In which case the hash map would be nearly as fast as a vector.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2025-10-22 14:42:47