Tags: go-analyze/bulk
Tags
feat: Add TransformErr variants This expands the API to allow an error to be returned in transformation (using the TransformErr function signature). Internally the logic was generally updated to handle a possible error return. This reduces code duplication, and benchmarking shows no measurable performance loss.
feat: Add SliceFilterTransform to Filter and Transform simultaniously While reviewing use this appears to be a pretty common process that may be able to benefit from our delayed filter allocations. That said, because of the Transform operation allocations will always occur. Which does offer simpler inPlace concatenation optimizations.
feat: Add SliceTransformToMap and improved performance This change adds SliceTransformToMap in order to perform a SliceTransform and SliceToMap in a single operation. Also included are improvements to a couple specific allocation calcluations, with added testing to ensure capacity is correctly calculated.
PreviousNext