Re: [PATCH 4/6] trans/fakeroot: use netfs_node_netnode instead of np->nn

2014-05-29 Thread Samuel Thibault
Justus Winter, le Thu 29 May 2014 18:41:02 +0200, a écrit : > When using fat nodes, expressions of the form E->nn can be rewritten > as netfs_node_netnode (E). This is much faster as it only involves a > offset calculation. For reference, I used the following semantic > patch to create the patch:

[PATCH 4/6] trans/fakeroot: use netfs_node_netnode instead of np->nn

2014-05-29 Thread Justus Winter
When using fat nodes, expressions of the form E->nn can be rewritten as netfs_node_netnode (E). This is much faster as it only involves a offset calculation. For reference, I used the following semantic patch to create the patch: @@ expression E; @@ - E->nn + netfs_node_netnode (E) * trans/fak