It seems more elegant that way, but I haven't tested it to find out if it has better performance or memory usage (yet.)