Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2010 at 19:31 UTC
Updated:
12 Mar 2010 at 07:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
nevergoneComment #2
nevergonecorrected patch (permission error)
Comment #3
chx commentedComment #4
dries commentedWhile technically correct, I wonder if this needs fixing. We probably return a lot of variables that probably should be made immutable. That said, I'm not opposed to this patch but it might warrant some extra discussion.
Comment #5
catchAgreed. As far as I know, every cloned variable leads to double memory consumption, also this is a duplicate of #154859: Document that cached entity objects are not necessarily cloned any more.
Comment #6
nevergonesimple test environment, create 5 node: