Improve List.reverse for singletons

XMLWordPrintable

    • b92
    • generic
    • generic
    • Verified

      List.reverse could detect a singleton list and return itself, thereby avoiding
      an unnecesary object creation for the new list.

      ###@###.### 2005-05-08 20:43:58 GMT

            Assignee:
            Jonathan Gibbons
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: