Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise/simplify some stream filtering for the REST API #7221

Merged

Commits on Jul 28, 2024

  1. Optimise/simplify some stream filtering for the REST API

    Replace the streaming of Map entry sets to pick out a single entry by
    key equality, and instead do a lookup into the map. Also, optimise the
    date range filtering in 'TradeStatisticsManager::getTradeStatisticsList'
    by using 'RangeUtils::subSet' to avoid scanning the entire collection.
    (This method is applicable, as the trade statistics set is navigable and
    naturally sorted by date.)
    stejbac committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    66d6530 View commit details
    Browse the repository at this point in the history