[Haskell-cafe] return with mutable object

Gregory Collins greg at gregorycollins.net
Wed Jun 18 06:29:27 UTC 2014


On Wed, Jun 18, 2014 at 2:53 AM, Baojun Wang <wangbj at gmail.com> wrote:

> To make my question more clearer, will test1/test2 have noticeable
> performance difference?


No. The copy is by reference.

-- 
Gregory Collins <greg at gregorycollins.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140618/7530de85/attachment.html>


More information about the Haskell-Cafe mailing list