kindlings-runtime-perf

Official

Speed macro-derived codecs and derivations.

Authorkubuszok
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Runtime performance bottlenecks in macro-generated type class derivations for Scala projects, leading to slow compilation and degraded runtime efficiency. This skill provides patterns to accelerate codegen and inlining to speed up derived codecs and schemas.

Core Features & Use Cases

  • Compile-time config evaluation with semiEval to reduce per-field runtime checks.
  • Typed local variables via ValDefs to avoid boxing of primitives during decoding.
  • SENTINEL loop patterns and inline encoding/decoding for built-in types to minimize indirection.
  • Inline collection loops and map handling to remove runtime helpers and lambdas.
  • Position-based access for structured formats like Avro to avoid string key lookups.
  • Cache expensive computations at instance scope to avoid repetition during each encode/decode call.

Quick Start

Apply runtime performance optimizations to your macro-derived codecs by enabling compile-time config evaluation and inlining of encoders/decoders.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kindlings-runtime-perf
Download link: https://github.com/kubuszok/kindlings/archive/main.zip#kindlings-runtime-perf

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.