Would you recommend using “The C5 Generic Collection Library for C# and CLI” based on your experience with it?

后端 未结 3 1433
醉梦人生
醉梦人生 2021-01-31 19:31

This free collection library comes from IT University of Copenhagen.

http://www.itu.dk/research/c5/

There is a video with one of the authors on Channel 9. I am t

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 19:41

    I have been using the C5 library for a while now, and with much success. I find that C5 offers great benefit in programming to interface. For example, in System.Collections.Generic, the IList interface doesn't offer all of the functionality of the ArrayList and LinkedList implementations. Conversely, in C5, you can access all the functionality of the ArrayList and LinkedList just by holding a C5.IList.

    As well, the original authors took much care to document the asymptotic speed of many critical operations, such as collection count, contains, and indexing. The library internally uses these properties when doing operations between collections to determine which collection would be faster as the "actor".

    As well, while not updated in a while, the C5 documentation book is an amazing resource that provides clear documentation on the library.

提交回复
热议问题