summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2012-08-14 22:36:31 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2012-08-14 22:36:31 +0200
commit7281be95992c9ef47a5a67487d34a30dabf23aa1 (patch)
tree25b3c0ab3d4136fddb0f9b2808047fa6efcfadcb /test/files
parentd66c7a4fea537d142e42da91bfe87f4aaecc1821 (diff)
downloadscala-7281be95992c9ef47a5a67487d34a30dabf23aa1.tar.gz
scala-7281be95992c9ef47a5a67487d34a30dabf23aa1.tar.bz2
scala-7281be95992c9ef47a5a67487d34a30dabf23aa1.zip
SI-6167 Override SeqLike#isEmpty for better performance
This results in a faster Vector#isEmpty (and head, tail, last, init) because it avoids building a VectorIterator just to check if iterator.hasNext is false. Other classes which have not overridden the implementation of SeqLike also benefit from it.
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions