diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 11:04:42 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 11:04:42 +0000 |
commit | b3861e0ec70ad94f925f196564e6a20e509ab9c4 (patch) | |
tree | 3d8b30d5b31eed922dee465ad41b8b7eff006abd /libs/json | |
parent | 69ba2e55a130a86ebd8988ab404a91e42a27dac9 (diff) |
[PATCH] Wasted memory use storing path copies in node tree
When creating the node tree, every node stores a copy of its full path table. e.g. for node("admin.network.wireless"), node.path = { "admin", "network", "wireless" }
This value is not used anywhere, and likely may be from before the addition of the treecache lookup table? In any instance, I've searched high and low and see nothing ever referencing any node's path via the path member. It
eats a good chunk of memory though and as such I believe it should be removed.
I've tested every page in the admin-full module after removing it and all seem to function properly.
Diffstat (limited to 'libs/json')
0 files changed, 0 insertions, 0 deletions