Files
bun.sh/src
Claude Bot d299786ee1 css: Complete calc.zig optimization - remove comptime function pointers
Converted `parseMathFn` to use runtime enum dispatch instead of
comptime function pointer parameters.

**Changes:**

- Created `MathOp` enum with 3 variants: round_mod, rem, mod
- Replaced `comptime op: *const fn` and `comptime fallback: *const fn`
  with runtime `math_op: MathOp` and `strategy: ?RoundingStrategy`
- Moved op/fallback logic into runtime switch statement with inline
  function definitions
- Updated all 3 call sites (.round, .rem, .mod) to use new signature

**Impact:**
- Reduced parseMathFn instantiations from 3+ to 1
- Eliminated all remaining comptime function pointer bloat in calc.zig
- Only remaining anytype/comptime are unavoidable generic context params

All CSS optimizations now complete across all files!

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 07:04:03 +00:00
..
2025-07-21 13:26:47 -07:00
2025-10-06 05:39:22 -07:00
2025-10-04 02:17:55 -07:00
2025-10-06 05:39:22 -07:00
2025-09-09 20:41:10 -07:00
2025-09-30 05:26:32 -07:00
2025-07-21 13:26:47 -07:00
2025-10-04 02:17:55 -07:00
2025-07-29 19:35:46 -07:00
2025-09-30 05:26:32 -07:00
2025-07-21 13:26:47 -07:00
2025-10-04 02:17:55 -07:00
2025-10-03 17:13:22 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 20:41:10 -07:00
2025-10-06 05:39:22 -07:00
2025-09-30 05:26:32 -07:00
2025-09-11 23:29:53 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-10-03 17:13:22 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00