Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace fixedSizeMap with fixedSizeHashMap #15

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Conversation

ajamaica
Copy link
Contributor

@ajamaica ajamaica commented Feb 2, 2023

  • Replace fixedSizeMap struct with fixedSizeHashMap class
  • Add init method to hashmap class
  • Make map and fixedSizeMap conform to FixableBeet protocol
  • Replace map with hashmap for top level Beet maps, BTree maps, Hash maps, and Beet arrays of Hash maps

[Sources/Beet/Beets/Maps.swift]

  • Replace fixedSizeMap struct with fixedSizeHashMap class
  • Add init method to hashmap class
  • Make map and fixedSizeMap conform to FixableBeet protocol
  • Add len parameter to fixedSizeHashMap class
  • Change type of len parameter from UInt32 to Int in map and fixedSizeMap [Tests/BeetTests/unit/map.swift]
  • Replace map with hashmap for top level Beet maps
  • Replace map with hashmap for top level BTree maps
  • Replace map with hashmap for top level Hash maps
  • Replace map with hashmap for top level Beet arrays of Hash maps

- Replace `fixedSizeMap` struct with `fixedSizeHashMap` class
- Add `init` method to `hashmap` class
- Make `map` and `fixedSizeMap` conform to `FixableBeet` protocol
- Replace `map` with `hashmap` for top level Beet maps, BTree maps, Hash maps, and Beet arrays of Hash maps

[Sources/Beet/Beets/Maps.swift]
- Replace `fixedSizeMap` struct with `fixedSizeHashMap` class
- Add `init` method to `hashmap` class
- Make `map` and `fixedSizeMap` conform to `FixableBeet` protocol
- Add `len` parameter to `fixedSizeHashMap` class
- Change type of `len` parameter from `UInt32` to `Int` in `map` and `fixedSizeMap`
[Tests/BeetTests/unit/map.swift]
- Replace `map` with `hashmap` for top level Beet maps
- Replace `map` with `hashmap` for top level BTree maps
- Replace `map` with `hashmap` for top level Hash maps
- Replace `map` with `hashmap` for top level Beet arrays of Hash maps
@ajamaica ajamaica merged commit dc9859f into main Feb 2, 2023
@ajamaica ajamaica deleted the feature/rename-hashmap branch February 2, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant