]> git.arvados.org - arvados.git/commit
6203: Use manifest.each_line and line.rstrip! instead of manifest.split("\n").
authorradhika <radhika@curoverse.com>
Mon, 8 Jun 2015 19:39:37 +0000 (15:39 -0400)
committerradhika <radhika@curoverse.com>
Mon, 8 Jun 2015 19:39:37 +0000 (15:39 -0400)
commit0e93a99cee72ca54650c6e9aa41af3fb5adc869a
treeb98bcda8c3bdaa82977d5cc9e21b33d9f49febfd
parentd80be38b5be2c607d3aa0855c69b9f4e0c3fbed0
6203: Use manifest.each_line and line.rstrip! instead of manifest.split("\n").
Performance was comparable in both cases; though each_line itself is twice as fast (we need to do strip, which eats away the gain).
services/api/app/models/collection.rb