The document describes Gillespie's algorithm for simulating stochastic kinetic models. It discusses how the algorithm works and that as the number of reactions and species increases, the time per iteration increases. It proposes representing the dependencies between reactions using a directed graph to only update hazard functions that depend on changed species after a reaction occurs, improving efficiency. This is illustrated using examples of simple models.