Asset Dictionary | A fast and easy way to get IDs

Oh also curious, what’s the plugin for?

Making a better animation previewer.

1 Like

OO nice. When you release it can you gimme a link it sounds interesting :skull:

no it doesn’t :skull: lemme fix that real quick

another unlogged update:

the for loop benchmark actually checks for Print now
Print will now print the name and classname of the instance. You may have seen the commented version of this in the code before because i used it for debugging early on.

Holy crap I got the greatest idea ever!!!

Let’s just say the module will be longer be read-only

old:

new:

why you aren’t using “pairs” anymore? also you’re able to use “ipairs” for numerical index.
also I thought this was to get toolbox IDs (xd)

1 Like

it has been proven that numeric for loops are faster than next, pairs and ipairs.

unfortunately, this makes the code less readable but the whole selling point of this is to very quickly get a crap ton of ids.

UPDATE!!!

the unsupported asset type warning will check if print is true and will not throw a warning otherwise. i realized that people might wanna scan their whole game and it’d be annoying.

ADDED GENERAL DICTIONARY BACK!!! i finally realized: wait i need it to preload stuff (you probably shouldn’t use preloadasync:GetDescendants since it only yields for assets so what’s the point)

Made a github repo! it’s my first one so it’s probably horrible :sob:

Oh also now particle emitters are supported