Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9daff0

Browse files
committed
More jsonb cleanup.
Fix JSONB_MAX_ELEMS and JSONB_MAX_PAIRS macros to use CB_MASK in thecalculation. JENTRY_POSMASK happens to have the same value at the moment,but that's just coincidental.Refactor jsonb iterator functions, for readability.Get rid of the JENTRY_ISFIRST flag. Whenever we handle JEntrys, we haveaccess to the whole array and have enough context information to knowwhich entry is the first. This frees up one bit in the JEntry header forfuture use. While we're at it, shuffle the JEntry bits so that booleantrue and false go together, for aesthetic reasons.Bump catalog version as this changes the on-disk format slightly.
1 parent46dddf7 commitd9daff0

File tree

3 files changed

+139
-216
lines changed

3 files changed

+139
-216
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp