- Handle input of items that we wish to store in memory.
For example, we may not want to persist every video frame to the database, but we do need to pass around the data structure. We can store it in
item = PrioritizedItem( priority = 100, input_id = 1) add_item_to_queue(item) #lower priority is faster
Updated over 1 year ago