Skip to content

Commit 9ddf9b8

Browse files
dfa1claude
andcommitted
refactor(core): drop redundant section banners from BitpackedEncoding
Inner class names are self-documenting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 32e7d06 commit 9ddf9b8

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,8 @@ public final class FooEncoding implements Encoding {
143143
@Override public EncodeResult encode(DType dtype, Object data) { return Encoder.encode(dtype, data); }
144144
@Override public Array decode(DecodeContext ctx) { return Decoder.decode(ctx); }
145145

146-
private static final class Encoder {
147-
static EncodeResult encode(DType dtype, Object data) { ... }
148-
}
149-
150-
private static final class Decoder {
151-
static Array decode(DecodeContext ctx) { ... }
152-
}
146+
private static final class Encoder { static EncodeResult encode(DType dtype, Object data) { ... } }
147+
private static final class Decoder { static Array decode(DecodeContext ctx) { ... } }
153148
}
154149
```
155150

core/src/main/java/io/github/dfa1/vortex/encoding/BitpackedEncoding.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ public Array decode(DecodeContext ctx) {
5959
return Decoder.decode(ctx);
6060
}
6161

62-
// ── Encoder ───────────────────────────────────────────────────────────────
63-
6462
private static final class Encoder {
6563

6664
static EncodeResult encode(DType dtype, Object data) {
@@ -249,8 +247,6 @@ private static void writeWordToSeg(MemorySegment seg, int off, long value, int t
249247
}
250248
}
251249

252-
// ── Decoder ───────────────────────────────────────────────────────────────
253-
254250
private static final class Decoder {
255251

256252
static Array decode(DecodeContext ctx) {

0 commit comments

Comments
 (0)