W3C home > Mailing lists > Public > public-geolocation@w3.org > August 2011

RE: Cache Polling

From: Thomson, Martin <Martin.Thomson@commscope.com>
Date: Wed, 3 Aug 2011 07:24:20 +0800
To: Philippe De Ryck <philippe.deryck@cs.kuleuven.be>, "public-geolocation@w3.org" <public-geolocation@w3.org>
CC: Giles Hogben <Giles.Hogben@enisa.europa.eu>, Lieven Desmet <Lieven.Desmet@cs.kuleuven.be>
Message-ID: <8B0A9FCBB9832F43971E38010638454F040D45B655@SISPE7MB1.commscope.com>
On 2011-08-02 at 00:12:40, Philippe De Ryck wrote:
> By repeating this with 
> increasingly smaller values of maximumAge until an error occurs, it 
> can determine an approximate timestamp of this position.

The same effect can be achieved in O(logN) with a binary search.

But, as Andrei points out, why would you bother when a timestamp attribute tells you the exact time that location was generated?
Received on Tuesday, 2 August 2011 23:25:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:02 UTC