Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kkharji/sqlite.lua
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.0
Choose a base ref
...
head repository: kkharji/sqlite.lua
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.0
Choose a head ref
  • 9 commits
  • 9 files changed
  • 2 contributors

Commits on Sep 9, 2021

  1. 🔖 release v1.1.0

    kkharji committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    9b4111f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92ebda8 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2021

  1. 🐛 fix Emmylua completion

    This used to work, but maybe with new versions of sumneko_lua. It
    stopped working.
    kkharji committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    edf642e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Configuration menu
    Copy the full SHA
    ee1ad88 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. feat(sqlite): make opts.lazy false by default and add opts.keep_open

    Before lazy was default and there was no way of changing that. I've
    decided to make it optional because it seems that:
    
    1. People expects sqlite {} or sqlite:extend {} to create all the
       defined table in advance.
    2. Performance impact of initializing db object is only 1.0 slower in
       microseconds, so it seems to not be as important as I thought it
       would:
    
       ```lua
       -- test/lazy.lua
        Benchmark #1: 'Logical Component'
          Time(mean ± σ):     23.7 μs ±  18.7 μs
          Range(min … max):   17.4 μs … 102.3 μs  20 runs
        Benchmark #2: 'Full Initialization'
          Time(mean ± σ):     28.7 μs ±  12.9 μs
          Range(min … max):   24.1 μs …  83.1 μs  20 runs
        Summary
          'Logical Component' ran
          1.2 ± 1.1 times faster than 'Full Initialization'
       ```
    kkharji committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    8e47074 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c34767 View commit details
    Browse the repository at this point in the history
  3. 📝 add powered by sqlite.lua section

    Great for user wanting some inspiration to get started with sqlite.lua
    kkharji committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    6b4110e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d89dc1 View commit details
    Browse the repository at this point in the history
  5. 🩹 fix example link

    kkharji committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    4335cb6 View commit details
    Browse the repository at this point in the history
Loading