Commit Graph

7 Commits

Author SHA1 Message Date
Kacper Donat
f3f05fd00c add native fast paths for eager transforms
Arrays and php-ds collections are transformed directly instead of through the lazy generators. merge() into an array now rejects keys that can't be array keys with a clear error, like toArray().
2026-10-27 23:08:34 +01:00
Kacper Donat
d4f1130077 adapt callbacks by target arity 2026-10-27 23:04:09 +01:00
Kacper Donat
61f934ffd7 type accessors for static analysis 2026-10-27 22:44:36 +01:00
Kacper Donat
b20ef22cfd document collections and add type tests 2026-10-27 22:38:37 +01:00
Kacper Donat
364b97deaa add lazy collection transforms 2026-10-27 22:24:58 +01:00
Kacper Donat
04c40087c2 hoist callback compilation out of transform closures 2026-10-27 22:18:48 +01:00
Kacper Donat
b48f28e9dc add eager collection transforms 2026-10-27 22:15:52 +01:00