I know that I fixed map, and I know that the patch was accepted. But when I tested it again map is slower than foreach for long lists. (Not as badly as it was, however.)
Looking at the current code, my patch to mapwhile is still in pp_ctl.c. Therefore the current performance problem in map has to be something else than what I was thinking. Do you know any details of what the current issue is? | [reply] |
No, I don't. I'd think (without having actually looked at the code in a while) that there's the possibility of optimizing the assignment away in @foo = map ...
| [reply] |