These are chat archives for Ruhrpottpatriot/GW2.NET

28th
Dec 2015
Robert Logiewa
@Ruhrpottpatriot
Dec 28 2015 17:04
Two question:
  1. You used the dictionary range for lokup times instead ofg a list, right?
  2. Why a dictionary range, and not a dictionary itself?
Steven Liekens
@StevenLiekens
Dec 28 2015 20:03
DictionaryRange is a subset (range) of all available list items
It has Count and TotalCount properties
You can build a single Dictionary from a collection of DictionaryRange
Steven Liekens
@StevenLiekens
Dec 28 2015 20:10
It's a dictionary instead of a list because that's what the API returns
Robert Logiewa
@Ruhrpottpatriot
Dec 28 2015 20:10
I'm thinking about converting into a list, but I'm not sure, after all a dictionary is faster for lookup
Steven Liekens
@StevenLiekens
Dec 28 2015 20:11
If you use ?ids queries then you probably need to do lookups
Can't think of another reason not to use page requests
Robert Logiewa
@Ruhrpottpatriot
Dec 28 2015 20:50
Seriously, I'm so dumb. I try to get an iterative algorithm rolling to calculate page sizes, when recursive is so much easier