Skip to content

ImmemorConsultrixContrarie/swap_drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A function alike to swap_remove, but drops the element in place instead of returning it.

In most CPU-predictable cases (benchmarks without black box) it is faster than swap_remove. But don't trust my personal benchmarks, run cargo bench on the code yourself!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages