Commits


molly: add a log iterator The patch add a generator which, when asked for an operation, logs a message and yields `nil`.


molly: add a mix iterator The patch add a function that takes a random mixture of a number generators and chooses between them uniformly.


molly: propagate luafun iterators


molly: add a CAS-register generator The patch add a generator that produces concurrent atomic updates to a shared register.


molly: fix a typo in a comment


make: bump luacheck version Bump luacheck version to v1.2.0 [1]. 1. https://github.com/lunarmodules/luacheck/releases/tag/v1.2.0


ci: add workflow that builds documentation


molly: rename internal function that runs a client


test/examples: get rid of dead code


doc: bump copyright year


molly: fix module name in comments


test: use precompiled statements in examples Prepared statements improve performance by caching the execution plan for a query after the query optimizer has found the best plan. However, with simple queries (such as simple selects/inserts with no joins) prepared statements won't give a big improvement since the optimizer will quickly find the best plan. This commit enables using prepared statements in test examples and renames SQLite helpers.


molly: update check for list-append parameters


molly: add options checks in a list-append generator


molly: fix generator in the test list-append list-append generator was broken, proposed commit fixes it and now an example from documentation works fine: > log = require('log') > tests = require('molly.tests') > for _it, v in tests.list_append_gen() do log.info(v()) end Fixes #3


molly: fix executing of method close - Fix executing of a `close` method due to early return - Add logging to client methods - Fix errors in test examples Fix #2


molly: fix indentation


Release 0.1.0


Initial version