lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9307] Replace mem_malloc+memset with mem_calloc


From: Joel Cunningham
Subject: [lwip-devel] [patch #9307] Replace mem_malloc+memset with mem_calloc
Date: Wed, 5 Apr 2017 14:48:30 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.nongnu.org/patch/?9307>

                 Summary: Replace mem_malloc+memset with mem_calloc
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Wed 05 Apr 2017 06:48:29 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: jcunningham
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Subject: [PATCH] Replace mem_malloc+memset with mem_calloc

Aside from reducing code, on systems which use MEM_LIBC_MALLOC, this
has the potential to improve performance depending on the underlying
memory allocator

See
http://stackoverflow.com/questions/2688466/why-mallocmemset-is-slower-than-calloc



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 05 Apr 2017 06:48:29 PM UTC  Name:
0001-Replace-mem_malloc-memset-with-mem_calloc.patch  Size: 7kB   By:
jcunningham

<http://savannah.nongnu.org/patch/download.php?file_id=40271>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9307>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]