Releases: dlang-community/containers
Releases · dlang-community/containers
v0.8.0-alpha.10
Merge pull request #124 from CyberShadow/revive-opapply containers.hashmap: Re-add opApply iteration
v0.8.0-alpha.9
Merge pull request #114 from dlang-community/derp Correctly reset t-tree length field to zero when clearing merged-on-behalf-of: Brian Schott <[email protected]>
v0.8.0-alpha.8
Support structs for key types in the hashmap/treemap. #71
v0.8.0-alpha.7
Merge pull request #110 from CyberShadow/pull-20180510-052258 dynamicarray fixes + resize method
v0.8.0-alpha.6
Fix two more cases of disposal before removing GC ranges
v0.8.0-alpha.5
Merge pull request #106 from ximion/master Add Meson build definition merged-on-behalf-of: Brian Schott <[email protected]>
v0.8.0-alpha.4
Fix typo
v0.8.0-alpha.2
Fixed a minor problem with a local variable in HashMap.
v0.8.0-alpha.1
This contains several API changes from 0.7.0 and several bug fixes as well.
- Unit tests are now only complied in if the
emsi_containers_unittest
version is specified to the compiler. This should speed up test builds of programs using the containers. - CyclicBuffer
- Added
insertAnywhere
,put
,popFront
,popBack
.
- Added
- DynamicArray
- Renamed
insert
toinsertBack
. AddedinsertAnywhere
,insert
andput
as aliases forinsertBack
.
- Renamed
- HashMap
opIndex
now returnsref
.- Added
containsKey
. - Improved the implementaton
- Removed default value for the
defaultValue
parameter togetOrAdd
. - Made the allocator
public
.
- HashSet
- Added
~=
operator overload. - Added
insertAnywhere
alias - Renamed
range
method toopSlice
.
- Added
- ImmutableHashSet
length
andempty
fields are nowimmutable
.
- Default hashing functions
- Use a variant of FNV-1a for string hashing
- OpenHashSet
- Added
put
andinsertAnywhere
as aliases forinsert
. - Renamed
range
toopSlice
. - Made the allocator public
- Un-documented private function
- Added
- package.d
- Added some missing modules
- SimdSet
- Added
clear
- Added
in
operator overload and~=
operator overload. - Added
insertAnywhere
andput
aliases forinsert
.
- Added
- SList
- Marked
front
inout
. - Added
back
. - Added
insertAnywhere
alias forinsertFront
. - Renamed
range
toopSlice
.
- Marked
- TreeMap
- Added
allocator
method to get the allocator used by the underlying tree. - Added
clear
,get
,byKey
,byValue
,byKeyValue
, andgetOrAdd
methods. - Removed
opApply
. - Added more unit tests.
- Added
- TTree
- Added
clear
. - Changed the return type of the various
insert
overloads tosize_t
. - Added an optional
overwrite
argument toinsert
to allow newly-inserted values to overwrite existing values - Added
insertAnywhere
alias forinsert
. - Added function attributes such as
@nogc
and@safe
to various methods. - Added
front
andback
methods. - Made the allocator instance public.
- Added
- UnrolledList
- Added
~=
operator overload. - Changed return type of
insertAnywhere
fromvoid
toT*
- Fixed a bug that caused
insertAnywhere
to not work. - Renamed
range
toopSlice
.
- Added
v0.7.0
Changes from v0.6.0:
- Updated dub.json to reflect the new location of this repository
- Improvements and fixes for the README
- Changes that allow
DynamicArray
to be used in@nogc
code in more cases - Removed
DynamicArray
's calls to object destructors. - Allow
~=
on DynamicArray to accept an array, and make the operator return a reference tothis
. - Use the API-frozen stdx-allocator package instead of std.experimental.allocator
- Add
byKey
,byValue
/opSlice
, andbyKeyValue
toHashMap
.