[ticker-dev] Re: Attribute Naming

David Arnold arnold at dstc.monash.edu.au
Thu Apr 11 12:54:15 EST 2002


-->"Ted" == Ted Phelps <phelps at dstc.edu.au> writes:

  Ted> David Arnold may have said:
  >> ...and you can select using require(), which is more efficient
  >> than a string comparison.

  Ted> As an aside, I'd like to point out that although this statement
  Ted> is currently true, it will not necessarily be so in the future,
  Ted> so let's net let it affect our decisions.

i agree that performance should not really be a consideration.


as an interesting, but irrelevant excursion then ...

  Ted> The reasoning behind this statement is a corollary of what
  Ted> David was already saying: if Protocol-Name is "foo" then
  Ted> Protocol-Name cannot also be "bar" (although require(foo) and
  Ted> require(bar) can both be true).  The evaluation engine could
  Ted> (and eventually will) be able to take advantage of this fact to
  Ted> prune its search tree, possibly eliminating many other tests
  Ted> and making string equality the faster test.

in that the engine won't have to compare a candidate notification
against all registered subscriptions?

and because !require() == bottom means we cannot prune the tree?


this really highlights how difficult it is to talk meaningfully about
performance :-(



d





More information about the ticker-dev mailing list