# HG changeset patch # User drewp@bigasterisk.com # Date 1371082602 0 # Node ID 183e3afea4ccefced5bcb18cad9de9d09ea96253 # Parent 331e67fa14929f0f9c2a0318182b397cae62b25b curvecalc tripleFilter optimization Ignore-this: be23ad34d862fe960b253f8c33d7b5fd diff -r 331e67fa1492 -r 183e3afea4cc bin/curvecalc --- a/bin/curvecalc Wed Jun 12 23:48:32 2013 +0000 +++ b/bin/curvecalc Thu Jun 13 00:16:42 2013 +0000 @@ -430,7 +430,8 @@ if not times: request.setResponseCode(404) return "not hovering over any time" - with graph.currentState() as g: + with graph.currentState( + tripleFilter=(session, L9['currentSong'], None)) as g: song = g.value(session, L9['currentSong']) return json.dumps({"song": song, "hoverTime" : times[0]}) raise NotImplementedError()