You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce vector_getrange and vector_getranges for VarInfo (#738)
* replaced a closure with `Fix1`
* added correct implementation of `getrange` for `TypedVarInfo`
* fixed calls to varinfo methods which should be metadata methods
* fixed typo
* use `setval!` on the metadata directly instead of on the varinfo
* added `length` implementation for `VarInfo` and `Metadata`
* added testing for `getranges
* introduce `vector_length` instead of `length`, since `length` already
refers to the dictionary-like length impl, not vector-like
* fixed bug in `getranges` for untyped varinfo
* added proper testing for other `VarInfo` types
* bump patch version
* separated the `getrange` version which returns the range of the vecto
representaiton rather than the internal representaiton into
`vector_getrange` to make its function explicit
* formatting
* removed `vector_getrange` for metadata
* added handling of missing indices + tests for these cases
* added handling of duplicated values
* removed no-longer relevant comment
* fixed impl of `vector_getrange` and `vector_getranges` for threadsafe varinfo
* fixed `vector_getranges` when `vns` are not found
0 commit comments