patchThe GNU Hurd - Patches: patch #2715, diskfs optimization

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #2715: diskfs optimization

Submitter:  Marcus Brinkmann <marcus>
Submitted:  Sat 28 Feb 2004 08:48:28 PM UTC
   
 
Category:  libdiskfs Priority:  3 - Low
Status:  Invalid Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None
Wiki-like text discussion box: 


Fri 03 Dec 2004 09:51:06 AM UTC, comment #1: 

Roland says:

%d format is canonical for the /servers/socket/ file names.
That code presumes the PF_LOCAL macro will be defined that way.  It could
be any constant expression, an enum, hex, arithmetic, whatever.  Don't
assume the headers won't change in ways they are permitted to.  The
compiler may optimize away sprintf when the format and arguments are all
constant.  That will have to be enough.


Neal H. Walfield <neal>
Group administrator
Sat 28 Feb 2004 08:48:28 PM UTC, original submission:  

A small optimization for ifsock.c by Neal Walfield:

2001-06-20  Neal H Walfield  <neal@cs.uml.edu>

  • ifsock.c (diskfs_S_ifsock_getsockaddr): Don't use sprint

when we can just use the preprocessor.


Marcus Brinkmann <marcus>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7003:  neal-diskfs-20010620 added by marcus (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-03 neal StatusNone Invalid
    Open/ClosedOpen Closed
2004-02-28 marcus Attached File- Added neal-diskfs-20010620, #2819

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code