[Pharo-dev] Collection with spatiotemporal indexation - Ideas and discussions ?
damien.pollet at gmail.com
Sat Apr 23 08:27:33 EDT 2016
There are a lot of spatial access data structures:
But for a prototype I don't think you care; a simple linear search should
be ok for testing until you have thousands and thousands of records. It's
probably more important to really explore what you need and how your
constraints will influence the API (e.g. since we haven't invented
teleportation yet, events for one person that are close in time are
necessarily close in space)
On 23 April 2016 at 14:08, Cédrick Béler <cdrick65 at gmail.com> wrote:
> Thanks Max,
> I’ve seen in Pharo 5 OrderedDictionary, OrderedPreservingDictionary and
> some others. I guess they have the same intent.
> I was actually trying them right now :)
> > Le 23 avr. 2016 à 13:57, Max Leske <maxleske at gmail.com> a écrit :
> > There was talk about an ordered dictionary implementation IIRC a couple
> of months ago on this list.
> > I’ve attached an implementation I found in a thread from 2010 (may not
> work out of the box).
> > Cheers,
> > Max
> > <OrderedDictionary.st>
> >> On 23 Apr 2016, at 13:46, Cédrick Béler <cdrick65 at gmail.com> wrote:
> >> A dictionary with keys being the timestamp or the spatiotemporal object
> would probably do it...
> >> I think I’ll do that but I wonder if there are better solutions out
> there ^^.
> >> Cheers,
> >> Cédrik
type less, do more [ | ] http://people.untyped.org/damien.pollet
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev