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

Update to latest golang #248

Merged
merged 3 commits into from
Oct 9, 2020
Merged

Update to latest golang #248

merged 3 commits into from
Oct 9, 2020

Conversation

janisz
Copy link
Collaborator

@janisz janisz commented Oct 7, 2020

No description provided.

@codecov-io
Copy link

codecov-io commented Oct 7, 2020

Codecov Report

Merging #248 into master will increase coverage by 0.64%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
+ Coverage   87.13%   87.78%   +0.64%     
==========================================
  Files          15       15              
  Lines         622      622              
==========================================
+ Hits          542      546       +4     
+ Misses         67       64       -3     
+ Partials       13       12       -1     
Impacted Files Coverage Δ
shard.go 87.26% <0.00%> (+1.88%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d615854...411c067. Read the comment docs.

cristaloleg
cristaloleg previously approved these changes Oct 8, 2020
cristaloleg and others added 2 commits October 8, 2020 09:24
This check is required so I revert it
@cristaloleg cristaloleg merged commit 4b1f942 into allegro:master Oct 9, 2020
siennathesane pushed a commit that referenced this pull request Nov 4, 2020
* Fix iterator styling issues (#247)

Issues reported in #246

* fix #160 (#246)

* Update to latest golang (#248)

Co-authored-by: Oleg Kovalov <iamolegkovalov@gmail.com>

* inital prep for v3.

Signed-off-by: Mike Lloyd <mike@reboot3times.org>

* Use uint64 intead of uint32

There are posibility we run into a problem of int32 overflow.
To prevent this let's use uint64 everywhere.

https://github.com/allegro/bigcache/blob/21e5ca5c3d539f94e8dc563350acd97c5400154f/shard.go#L138

Fixes: #148

* Fix CI

* Do not run on 1.13

* Do not run long test

* Optimze append (#249)

* Add Benchmark for append

* Optimize Append and halve byte copies

* Optimize Append by reducing allocs

* Optimize Append by reducing allocs

* Reduces allocs from test construct

Co-authored-by: Fabian Gärtner <fabian.gaertner@check24.de>

Co-authored-by: S@P <lorenzotorracchi@mail.com>
Co-authored-by: Oleg Kovalov <iamolegkovalov@gmail.com>
Co-authored-by: Mike Lloyd <mlloyd@rts.com>
Co-authored-by: Fabianexe <Fabianexe@gmail.com>
Co-authored-by: Fabian Gärtner <fabian.gaertner@check24.de>
siennathesane pushed a commit that referenced this pull request Nov 4, 2020
* Fix iterator styling issues (#247)

Issues reported in #246

* fix #160 (#246)

* Update to latest golang (#248)

Co-authored-by: Oleg Kovalov <iamolegkovalov@gmail.com>

* inital prep for v3.

Signed-off-by: Mike Lloyd <mike@reboot3times.org>

* Use uint64 intead of uint32

There are posibility we run into a problem of int32 overflow.
To prevent this let's use uint64 everywhere.

https://github.com/allegro/bigcache/blob/21e5ca5c3d539f94e8dc563350acd97c5400154f/shard.go#L138

Fixes: #148

* Fix CI

* Do not run on 1.13

* Do not run long test

* Optimze append (#249)

* Add Benchmark for append

* Optimize Append and halve byte copies

* Optimize Append by reducing allocs

* Optimize Append by reducing allocs

* Reduces allocs from test construct

Co-authored-by: Fabian Gärtner <fabian.gaertner@check24.de>

Co-authored-by: S@P <lorenzotorracchi@mail.com>
Co-authored-by: Oleg Kovalov <iamolegkovalov@gmail.com>
Co-authored-by: Mike Lloyd <mlloyd@rts.com>
Co-authored-by: Fabianexe <Fabianexe@gmail.com>
Co-authored-by: Fabian Gärtner <fabian.gaertner@check24.de>
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.

3 participants