Skip to content

How does YSI Hooks work internally? Compilation vs Runtime and Performance Impact #701

Open
@RonaldoBueno16

Description

@RonaldoBueno16

Hi! I’d like to better understand how YSI's hook system works under the hood.
Are all hook functions combined during compilation, or does the system iterate through each hook one by one at runtime (like a chain)?
Also, is there any noticeable performance impact when using multiple hooks on the same callback, such as OnPlayerKeyStateChange?
Thanks in advance, and great work on the library!

@Y-Less

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