Skip to content

<cstdint> usage in source engine. #1464

@Mipppy

Description

@Mipppy

I was browsing through the code of the Source SDK, and I noticed that it doesn't use cstdint once. Wouldn't this have the potential to drastically reduce memory usage, without gatekeeping systems, as cstdint is a C++ standard? I noticed that a lot of integers really didn't need the entire 32 bits, and while you can use shorts, uint_8 in particular could be used to save a few bytes here and there, which would eventually add up over time.

Just wondering, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions