Greatly improved performance of equal for string like things.
This commit is contained in:
parent
90e862cc59
commit
ffceda5edc
3 changed files with 39 additions and 16 deletions
|
|
@ -15,6 +15,12 @@
|
|||
#ifndef __equal_h
|
||||
#define __equal_h
|
||||
|
||||
/**
|
||||
* size of buffer for assembling strings. Likely to be useful to
|
||||
* read, too.
|
||||
*/
|
||||
#define STRING_SHIPYARD_SIZE 1024
|
||||
|
||||
/**
|
||||
* Shallow, and thus cheap, equality: true if these two objects are
|
||||
* the same object, else false.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue