5 Years Ago
Updated Stack implementation (#1566) * Updated Stack implementation - Moved all data to array indicies for faster access - Pop now errors when given invalid args - Pop now returns the last element it popped (solves garrysmod-requests/issues/217) - Various optimisations, biggest being changing table.remove to direct element removal in Pop * Add PopMulti * Make Pop(num>1) return the last element it popped instead of the first