Skip to content

Add MIT license, fix typos#5

Open
magJ wants to merge 5 commits intooldmoe:mainfrom
magJ:main
Open

Add MIT license, fix typos#5
magJ wants to merge 5 commits intooldmoe:mainfrom
magJ:main

Conversation

@magJ
Copy link
Copy Markdown

@magJ magJ commented May 3, 2026

I noticed you have used MIT in some of your other projects, so I figured you might be happy to license this under MIT too.

Fixes: #2

magJ and others added 5 commits May 4, 2026 09:36
- Add rb64_each table-valued function mirroring rb_each for 64-bit bitmaps,
  using roaring64_iterator_t with a 4K uint64 staging buffer for bulk iteration
- Add rb_each TVF (32-bit counterpart, introduced in the same working branch)
- Switch CRoaring from vendored amalgamation files to a git submodule so the
  generated roaring.c/h/hh are produced at build time rather than committed
- Add build.Dockerfile: cross-compiles for macOS and Linux (x86_64 + aarch64)
  using Zig, then runs the Ruby test suite in a gated test stage so a failing
  test aborts the export
- Add 16 new minitest cases covering rb_each and rb64_each (count, sum, min,
  max, empty bitmap, NULL input, roundtrip, and 64-bit large values); make
  carray-dependent tests skip gracefully when carray.so is unavailable
- Rewrite README to document all 34 functions including the full rb64_* family,
  correct compile instructions, and Docker-based test workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…r rb_each

- rb_contains/rb64_contains: O(1) membership test with aux-data bitmap caching,
  useful as a WHERE-clause filter when another index drives scan order
- rb_range/rb_range_desc: offset+limit table-valued functions for paged access
  into sorted bitmap values without materializing the full set
- rb_each/rb64_each: advertise orderByConsumed for ASC and DESC so SQLite skips
  redundant sorts; DESC path uses roaring_iterator_init_last + previous()
- Trailing whitespace cleanup throughout libsqlite3roaring.c
- README: document new functions, add "Choosing the right primitive" guide
  and NULL/error behaviour table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add license

1 participant