SimGrid  3.11
Versatile Simulation of Distributed Systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Swag: O(1) set datatype

a O(1) set based on linked lists More...

Modules

 Swag types
 
 SWAG functions
 
 Swag cursor
 

Detailed Description

a O(1) set based on linked lists

Warning, this module is done to be efficient and performs tons of cast and dirty things. So make sure you know what you are doing while using it. It is basically a fifo but with restrictions so that it can be used as a set. Any operation (add, remove, belongs) is O(1) and no call to malloc/free is done.