Ed Schouten de85bfc508 Introducing memcchr(3).
It seems two of the file system drivers we have in the tree, namely ufs
and ext3, use a function called `skpc()'. The meaning of this function
does not seem to be documented in FreeBSD, but it turns out one needs to
be a VAX programmer to understand what it does.

SPKC is an instruction on the VAX that does the opposite of memchr(). It
searches for the non-equal character. Add a new function called
memcchr() to the tree that has the following advantages over skpc():

- It has a name that makes more sense than skpc(). Just like strcspn()
  matches the complement of strspn(), memcchr() is the complement of
  memchr().

- It is faster than skpc(). Similar to our strlen() in libc, it compares
  entire words, instead of single bytes. It seems that for this routine
  this yields a sixfold performance increase on amd64.

- It has a man page.
2012-01-01 20:26:11 +00:00
..
2010-07-31 10:01:15 +00:00
2010-02-27 01:17:44 +00:00
2010-02-27 01:17:44 +00:00
2010-08-15 21:37:30 +00:00
2009-01-03 10:37:38 +00:00
2011-05-25 14:13:53 +00:00
2009-02-22 13:38:16 +00:00
2011-05-25 14:13:53 +00:00
2010-03-29 17:39:38 +00:00
2010-03-29 17:39:38 +00:00
2010-03-29 17:39:38 +00:00
2011-09-27 07:05:41 +00:00
2011-05-25 14:13:53 +00:00
2010-01-15 16:01:22 +00:00
2011-05-05 09:55:55 +00:00
2008-03-25 15:44:49 +00:00
2008-01-12 21:07:03 +00:00
2010-10-08 12:40:16 +00:00
2012-01-01 20:26:11 +00:00
2011-10-21 20:23:40 +00:00
2010-02-06 14:10:45 +00:00
2011-01-06 04:05:25 +00:00
2010-01-15 16:01:22 +00:00
2011-10-07 22:14:18 +00:00
2010-07-31 10:01:15 +00:00
2011-12-17 06:57:35 +00:00
2010-07-31 10:01:15 +00:00
2008-02-26 20:25:01 +00:00
2011-11-19 07:52:39 +00:00