<div dir="ltr">Had a short talk with Sandro about it and we agreed that a shorter name would be nice.<div><br></div><div>Our suggestion is _mu (as in mutate).</div><div><br></div><div>Not sure on the cost/benefits for applying this in a API breaking way though:</div><div><br></div><div>1. _rw -> _mu (doesn't seem to dangerous?)</div><div>2. existing mutating functions that does *not* have any postfix (potentially dangerous but would be nice for consistency?)</div><div><br></div><div>I really would like consistency but uncertain on the dangers.</div><div><br></div><div>/Björn<br><div class="gmail_extra"><br><div class="gmail_quote">2017-10-04 15:38 GMT+02:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@kbt.io" target="_blank">strk@kbt.io</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Oct 04, 2017 at 06:27:21AM -0700, Paul Ramsey wrote:<br>
> > On Oct 4, 2017, at 12:43 AM, Sandro Santilli <<a href="mailto:strk@kbt.io">strk@kbt.io</a>> wrote:<br>
<br>
</span><span class="">> > But when doing the copy internally would be faster<br>
> > (say when no copy would happen if there's nothing to do?)<br>
> > how about adding a _rw for "read-write” ?<br>
><br>
> I don’t understand the caveat “when doing the copy internally would be faster”.<br>
<br>
</span>What I mean is that sometime there's no need to make a copy, for<br>
example if the requested operation is not possible, or if the function<br>
wants to implement a copy-on-write.<br>
<span class=""><br>
> I’ve started on creating in_place variants, now, I’m tempted to just commit them<br>
> as they come, and since they have nice big signatures we can re-name them<br>
> as we wish with a simple search/replace.<br>
><br>
> (The patch is getting larger and larger, so the sooner I land it, the better…)<br>
<br>
</span>Sure, go ahead. I won't get mad :)<br>
<div class="HOEnZb"><div class="h5"><br>
--strk;<br>
______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a></div></div></blockquote></div><br></div></div></div>