看板 FB_chat 關於我們 聯絡資訊
Xin LI wrote: > On 2010/07/15 15:38, deeptech71@gmail.com wrote: >> Some C implementations use the read-4-bytes-ahead technique to speed >> up strlen(). Does the C standard state anything about strlen() being >> allowed to read past the terminating zero? > > It's not 4-bytes-ahead, but read a whole (aligned) word at one time. > > I think C standard does not dictate in this detail. OK, can anyone confirm this? > But why? Just wondering. _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"