Performance optimization using iodata() instead of appending to list in chunk()