rtuple
rtuple is a data structure that represents a read-only tuple. Unlike mutable tuples, the elements within an rtuple cannot be changed after its creation. This immutability provides certain guarantees and can be beneficial in various programming contexts. The primary advantage of rtuples is their thread-safety. Since their contents are fixed, multiple threads can access an rtuple concurrently without the risk of data corruption due to simultaneous modifications. This makes them suitable for use in shared memory scenarios or as constants within an application.
rtuples are often implemented in languages that offer immutable data structures as a core feature. The syntax