You already did this, I'm just giving you a feature request so you have something to close.
Steal Doom / Roblox / Unity type comparisons to make istype() really fast.
Credit to goof or whoever for first suggesting it.
ID:2769807
Feb 18 2022, 3:49 pm
|
|||||||
Resolved
| |||||||
Feb 18 2022, 4:10 pm
|
|
Credit to Mothblocks from SS13 actually for proposing it first!
|
Lummox JR resolved issue with message:
istype() lookups and generation of typesof() lists have been optimized to use O(1) lookup time instead of O(depth). The only exception is that typesof() for mob types work the old way. |
In response to Hiead
|
|
In response to Hiead
|
|
In my implementation it does, so likely in lummox's also. It's done in the pass after that stuff should be processed.
|
In response to Lummox JR
|
|
Why are mobs treated differently?
|
In response to DamianQ
|
|