lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Today I'm releasing verion 0.2 of "fifo.lua".
A library that provides a fifo of lua objects.

Homepage: https://github.com/daurnimator/fifo.lua
Available via luarocks: luarocks install fifo

## 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](http://pandoc.org/) compatible markdown file
  - Dropped Lua 5.0 support
  - Improved performance (especially in LuaJIT)