summaryrefslogtreecommitdiff
path: root/lib/api/files.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-12-30 17:16:59 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-12-31 15:46:47 +0100
commitd3951dfaa13b9aaf11695ef10fa63456ac75cc48 (patch)
tree4814111e3e8d0565b607dadd708a10393600d903 /lib/api/files.rb
parent3077cb52d904154b98ee3e9aced5b3aadae86941 (diff)
downloadgitlab-ce-d3951dfaa13b9aaf11695ef10fa63456ac75cc48.tar.gz
Don't use delegate to delegate trivial methods
Around 300 ms (in total) would be spent in these delegated methods due to the extra stuff ActiveSupport adds to the compiled methods. Because these delegations are so simple we can just manually define the methods, saving around 275 milliseconds.
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions