Skip to content

Hashed Kind #155

@ncannasse

Description

@ncannasse

In order to speedup performances at runtime, we could use either represent kind id that is currently a String as an hashed id or an index based id to perform kind-kind comparison (in switch/case XXX or inf.id == XXX). But then the debugger would only display the hashed id instead of the actual identifier, which would be make everything more complicated to debug.

In order to fix this we would need to be able to tag specific ints in the HL debugger (same as we are planning for EnumFlags, but using an abstract such has hl.HashedIdent) and be able to reverse the hash based on the cache from the VM. Ping @yuxiaomao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions