JIT and Containers.Map()
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!