stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Updated: (STDCXX-138) algorithms complexity tests not strict enough
Date Wed, 08 Feb 2006 02:01:58 GMT
     [ ]

Martin Sebor updated STDCXX-138:

    Component: Tests
                   (was: 25. Algorithms)
      Summary: algorithms complexity tests not strict enough  (was: Complexity tests are not
strict enough for some algorithms when the expected complexity is a function of the given
sequence length (not exact count))

Abbreviated long subject line and assigned to the right component.

> algorithms complexity tests not strict enough
> ---------------------------------------------
>          Key: STDCXX-138
>          URL:
>      Project: C++ Standard Library
>         Type: Improvement
>   Components: Tests
>     Versions: 4.1.3
>  Environment: all
>     Reporter: Anton Pevtsov
>     Priority: Minor
>      Fix For: 4.1.4

> Affects tests for sort, stable_sort, partial_sort, partial_sort_copy, nth_element, etc
algorithms where the complexity is O(f(N)), where N is the length of the test sequence, f(N)
- some function of N: log N, N log N, N. 
> It is necessary to investigate each algorithm to find the worst case for it and use the
complexity on this worst sequence as the upper bound in tests. Currently "magic" coefficients
are used.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message