tmf: Fix in-memory backend to use a TreeSet insead of a list
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 26 Sep 2013 20:25:38 +0000 (16:25 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 26 Sep 2013 22:44:40 +0000 (18:44 -0400)
commitf606c6fa12f6c2c466be30d1b27328b7581eaba8
tree750615ce8ea62425393b324338e6050ccf462e8f
parent9c4d52eeca27782f87d466d0019fe9032e995c80
tmf: Fix in-memory backend to use a TreeSet insead of a list

The query performance is superior and it handles receiving different
attributes with different end times out of order. (within the spec)

Change-Id: Iba72f479455facedecacaadf695f943a6572f3d2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16816
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/AllTmfCoreTests.java
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/statesystem/backends/AllTests.java [new file with mode: 0644]
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/statesystem/backends/InMemoryBackendTest.java [new file with mode: 0644]
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/InMemoryBackend.java
This page took 0.02832 seconds and 5 git commands to generate.