Fifo.lua 0.2 Released

Fifo.lua 0.2 Released

Today I’m releasing verion 0.2 of “fifo.lua”. A lua library that provides a fifo of lua objects.

Changes since 0.1

  • :setempty now returns the fifo so that initialisation is simplified
  • :peek returns 2nd value indicating if there was a value at the given index
  • Remove undocumented :iter and :foreach methods
  • Added __len metamethod as alias for :length method (only available in 5.2+)
  • Fixed bug in :remove method where the last element could not be removed
  • Stricter argument checking
  • Move documentation out of README into a pandoc compatible markdown file
  • Dropped Lua 5.0 support
  • Improved performance (especially in LuaJIT)