arthurhsu / lovefield-ts

Lovefield TypeScript port: successor of google/lovefield
Apache License 2.0
47 stars 3 forks source link

Implement min/max aggregator optimization #35

Open arthurhsu opened 1 year ago

arthurhsu commented 1 year ago

If an index exists for a MIN or MAX query, the answer can be retrieved in almost constant time by looking up the index, no need for calculation.