Files
sdk/runtime/lib
Lasse R.H. Nielsen babcd4e9c0 Revert "Make EfficientLength public, as EfficientLengthIterable."
It's still not a good solution for detecting an Iterable with an efficient
length. It's not inherited by, e.g., a DelegatingIterable wrapper or similar
generic Iterable transformers.

Keep this as an internal optimization for quickly detecting the most common
efficient-length Iterable classes (List, Set, Queue, Map.keys/values), but
don't make it public.

A *real* solution would be adding a hasEfficientLength getter to Iterable, or
adding an efficientLength getter that may return null if it's not efficient.
This would something that a wrapper can attach to.

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1154263003
2015-05-29 12:52:45 +02:00
..
2014-09-09 21:47:44 +00:00
2015-04-17 20:30:29 +00:00
2014-09-09 21:47:44 +00:00
2014-09-09 21:47:44 +00:00
2014-01-24 22:00:04 +00:00
2015-04-24 18:53:05 +00:00
2015-04-24 18:53:05 +00:00
2014-09-09 21:47:44 +00:00
2015-04-22 17:51:49 +00:00
2014-08-19 21:15:39 +00:00
2015-04-08 23:59:23 +00:00