Thank you for your help, never thought of using metatable, What profiling program did you use to compare memory usage / execution time?