HF RL Explorer

The DeserializerStringCache class’s apply methods that accept a transformation function (e.g…

The DeserializerStringCache class’s apply methods that accept a transformation function (e.g…: a task in LegoFlow-SWE (Harbor dataset). Observed behaviour - Every call to apply(JsonParser, CacheScope, transform) creates a temporary buffer object to wrap the parser’s current text, leading to a…

The task

**Observed behaviour** - Every call to `apply(JsonParser, CacheScope, transform)` creates a temporary buffer object to wrap the parser’s current text, leading to a large number of short-lived allocations. - The cache hit path still performs this allocation before the lookup can proceed. - The same problem exists in…

Part of Lego-X/LegoFlow-SWE.