tag:blogger.com,1999:blog-8333362953216176367.post6472047271516844618..comments2022-07-24T21:57:29.200+02:00Comments on The plate is bad: The arraymath extension vs. plpgsqlergohttp://www.blogger.com/profile/06303496169445217331noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8333362953216176367.post-54704558743870320182015-12-29T23:12:54.482+01:002015-12-29T23:12:54.482+01:00Hey, my guess in your previous post on performance...Hey, my guess in your previous post on performance was right in the middle! ;)<br /><br />Did you look at using array_map(), at least for the array X element stuff? At first look I don't see anything that would make your function much faster...<br /><br />Disappointingly, it looks like the only current use for array_map is for T_ArrayCoerceExpr. I think it'd be great to have a version of array_map that handles multiple arrays. I don't think it'd be too hard to create one that would handle any number of arrays; something like array_map(regprocedure, VARIADIC anyarray) RETURNS anyarray.<br /><br />Any interest in working on a patch?Anonymoushttps://www.blogger.com/profile/10225165980320590149noreply@blogger.com