Clear Filters
Clear Filters

JIT and Containers.Map()

1 view (last 30 days)
Peter O
Peter O on 2 Jul 2015
Hello everyone,
A quick question I'm hoping someone might have a little experience with: MATLAB's built-in just in time compiler (JIT) is known to work on the primitive data types, but at my last check it did not work on lines involving structures. Would anyone happen to know if it can optimize the hash table object when possible? For example, if a map datatype uses chars as keys and is specified to contain data of type (scalar) double, would that be specific enough for the JIT to work with?
From a memory perspective, it would know how big the data it's retrieving will be and where to look, provided the string is hard-coded in the file.
Thanks,
Pete

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!