Coder Social home page Coder Social logo

pavlosdais / memory-allocators Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 0.0 19 KB

A set of custom memory allocators

License: MIT License

C 96.90% Makefile 3.10%
allocator allocators custom-allocator list-allocator memory memory-allocation memory-management pool-allocator stack-allocator

memory-allocators's Introduction

Memory Allocators

This repository contains implementations of various memory allocators. These allocators use different strategies for managing memory, each with its own set of trade-offs and benefits. This project aims to provide an understanding of memory allocation techniques and their applications.

Why Choose Custom Memory Allocators?

Using a custom memory allocator can lead to improved performance and memory management for specific tasks when compared to the general-purpose malloc function. Custom allocators optimize memory usage, decrease fragmentation, and have faster allocation and deallocation, which can be particularly beneficial for applications with distinct memory requirements.

Implemented Allocators

This project currently implements the following memory allocators:

The source code of every allocator can be found over at the src directory.

Benchmarks

Detailed benchmark results for different allocation scenarios (small/ varying/ large) using the memory allocators are available here. This file is included in the repository for your reference over at the benchmarks directory.


© Pavlos Dais

memory-allocators's People

Contributors

pavlosdais avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.