Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

collections/vector: implement dynamic table described in CLRS #2

Merged
merged 17 commits into from
Aug 7, 2019

Conversation

fengkx
Copy link
Contributor

@fengkx fengkx commented Aug 4, 2019

Fix issue #1

@fengkx fengkx changed the title feat(vector): dynamic grow capity feat(vector): dynamic grow capacity Aug 5, 2019
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
@iosmanthus
Copy link
Contributor

Please add some tests to new added public methods @fengkx

tests/test-vector.cc Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
@iosmanthus iosmanthus changed the title feat(vector): dynamic grow capacity collections/vector: implement dynamic table described in CLRS Aug 5, 2019
Copy link
Contributor

@iosmanthus iosmanthus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work! 👍

src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Show resolved Hide resolved
src/collections/vector.h Show resolved Hide resolved
tests/test-vector.cc Show resolved Hide resolved
tests/test-vector.cc Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
src/collections/vector.h Outdated Show resolved Hide resolved
tests/test-vector.cc Outdated Show resolved Hide resolved
@iosmanthus iosmanthus merged commit 789f694 into 0xffff-one:master Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants