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

Introduce PointerData #40

Closed
wants to merge 4 commits into from

Conversation

@vitvakatu
Copy link
Collaborator

commented May 13, 2017

Fixes #35
Pointer's size is 16 bytes now, instead of 24. Performance:
before(current master)

test bench_build  ... bench:   1,868,377 ns/iter (+/- 408,680)
test bench_update ... bench:      28,267 ns/iter (+/- 336)
-------
test bench_build  ... bench:   1,065,958 ns/iter (+/- 2,806)
test bench_update ... bench:       4,110 ns/iter (+/- 31)

After:

test bench_build  ... bench:   1,877,622 ns/iter (+/- 305,919)
test bench_update ... bench:      19,316 ns/iter (+/- 110)
-------
test bench_build  ... bench:   1,013,144 ns/iter (+/- 18,468)
test bench_update ... bench:       3,930 ns/iter (+/- 145)

UPD: after PR by @DaseinPhaos performance became slightly better than before.

vitvakatu and others added some commits May 13, 2017

@kvark kvark referenced this pull request May 14, 2017

Merged

Improved PointerData #41

@kvark kvark closed this in #41 May 14, 2017

@vitvakatu vitvakatu deleted the vitvakatu:bitfield branch May 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.