KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Associative Arrays (EN/FR)
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: October 25, 2022


During the application development cycle, it is necessary to take care of non-functional requirements, especially performance. To do so, it is recommended to use the appropriate approach to implement the algorithms manipulating the data.

Data is usually stored on a disk or in memory (RAM). Both options are available and the way this data is structured has a profound impact on the performance of the application.

Remember that the data structure in memory is rarely treated as a priority in the database design followed by developers, even though this data organization is indispensable as the design of the database.

In this technical note, we will cover associative arrays in 4D, which represent an effective way to structure data in memory (RAM), and will also go in-depth on the different advantages of this technique naming some use cases. This technique is not well known enough by 4D Developers, that’s the reason behind proposing this technical note.

Download Complete Tech Note: Tech Note Document