-
-
Notifications
You must be signed in to change notification settings - Fork 484
Open
Description
std::string/std::string_viewlike interface- Get rid of
operator* - Prohibit direct comparison with nullptr (via providing
std::nullptr_toverloads foroperator==andxr_strcmp) - Add functions from
std::string/std::string_view- Treat it as a view of immutable string and add functions accordingly reasonable
- Already existing
printfis acceptable, but we should decide if we should leave or not
- Get rid of
- Replace pointer with 32-bit identifier which will allow us to reduce the class size on 64-bit platforms
- Computational requirements:
- O(1) – access the underlying string
- O(1) – search
- Insertion/removal don't have strict requirements, but just don't make it O(N^2).
O(log N) is very good, O(N) is acceptable
References, useful links:
argosurvivors
Metadata
Metadata
Assignees
Type
Projects
Status
To do