HumHub Documentation (unofficial)

Queue.php

Table of Contents

Classes

HTMLPurifier_Queue
A simple array-backed queue, based off of the classic Okasaki persistent amortized queue. The basic idea is to maintain two stacks: an input stack and an output stack. When the output stack runs out, reverse the input stack and use it as the output stack.

        
On this page

Search results