memset_benchmark VS fancy-memset

Compare memset_benchmark vs fancy-memset and see what are their differences.

memset_benchmark

This repository contains high-performance implementations of memset and memcpy in assembly. (by nadavrot)

fancy-memset

small, fast memset based on microsoft's design (by moon-chilled)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
memset_benchmark fancy-memset
11 3
296 9
- -
1.8 0.0
over 2 years ago about 2 years ago
Assembly Assembly
- -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

memset_benchmark

Posts with mentions or reviews of memset_benchmark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-28.

fancy-memset

Posts with mentions or reviews of fancy-memset. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-22.
  • LLVM's Libc Gets Much Faster memcpy For RISC-V
    3 projects | news.ycombinator.com | 22 May 2023
    I only have experience with their amd64 code.

    > What problems do they have?

    Nothing in particular, just not particularly amazing performance. They work fine. One thing they have going for them is that they typically have separate versions for every interesting architecture feature level/set, whereas e.g. bionic only has sse code. I guess I can point at my own implementations of memset and memcmp (https://github.com/moon-chilled/fancy-memset https://github.com/moon-chilled/fancy-memcmp), both of which employ novel techniques not used by glibc; but I've not yet gotten around to doing proper benchmarks on either.

  • Fast Memset and Memcpy implementations
    2 projects | /r/asm | 26 Nov 2021
    Going to plug my own implementation of the same ideas. Nearly half the branches and code size (gotta save that btb and icache!), similar speed except for <16 range (I am much slower; but these are empirically very rare); and 128~180 range (I am appreciably faster for some reason, this was weird).
  • The Art of Picking Intel Registers (2003)
    1 project | news.ycombinator.com | 8 Feb 2021
    Not sure what you mean by 'part'. I reproduced this across two intel and two amd CPUs, comparing my own[0] memset implementation, glibc's, and bionic's.

    0. https://github.com/moon-chilled/fancy-memset

What are some alternatives?

When comparing memset_benchmark and fancy-memset you can also consider the following projects:

safeclib - safec libc extension with all C11 Annex K functions

gcc

fancy-memcmp - small, fast memcmp

libnbd

qemu

llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

nbdkit