Commit Graph

8 Commits (a95674aef3a0c7caeb65d43d59a4b585d86589ed)

Author SHA1 Message Date
Tatsuhiro Tsujikawa ee2e21150b Use std::unordered_map in IndexedList for faster speed
Because mingw cross compiler g++-4.6.3 does not support
std::unordered_map::emplace and std::deque::emplace, traditional
insert member function is used instead.
2013-08-21 23:46:16 +09:00
Tatsuhiro Tsujikawa 6bcf33a69e Fix compile error with clang 2013-06-25 02:57:48 +09:00
Nils Maier e25c0955c5 Fix invalid reference return in IndexedListIterator 2013-05-19 18:02:44 +02:00
Tatsuhiro Tsujikawa cef6db17ba Add changePosition API 2013-05-15 00:50:55 +09:00
Tatsuhiro Tsujikawa d4ba562710 Implement IndexedList::iterator
It is dangerous to expose internal iterator to the outside, which is
easily misused.
2013-03-03 18:00:42 +09:00
Tatsuhiro Tsujikawa 1c9cfccac4 Fix invalid iterator handling when deleting RequestGroup 2013-02-03 18:18:28 +09:00
Tatsuhiro Tsujikawa 561f0b3e29 Use std::deque instead of std::list in IndexedList
We choose faster iteration over rare slower deletion in the middle.
2013-02-01 00:03:47 +09:00
Tatsuhiro Tsujikawa 07bb779eb0 Faster deletion of RequestGroup and DownloadResult lists 2012-12-19 23:03:48 +09:00