Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 9a89fb1c9d Hash always use all characters in a long string %!s(int64=4) %!d(string=hai) anos
  Roberto Ierusalimschy 7288528a1e Short strings always use all bytes in the hash %!s(int64=5) %!d(string=hai) anos
  Roberto Ierusalimschy 46c3587a6f Clearer distinction between types and tags %!s(int64=5) %!d(string=hai) anos
  Roberto Ierusalimschy 2c68e66570 Details %!s(int64=6) %!d(string=hai) anos
  Roberto Ierusalimschy f99509581e Removed extra information from RCS keyword strings %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy 34aa0c5bd7 new macros 'likely'/'unlikely' with hints for jump predictions %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy ca6fe7449a userdata can have multiple user values %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy c7a8cba745 no more 'nfield' string %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy e2b15aa21d janitor work on casts %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy 2f6f6abeba 'rehash' -> 'tablerehash' %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy b077b20206 back to reallocation when resizing the string table. %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy e663a24ab0 more freedom in handling memory-allocation errors (not all allocations %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy 7622373033 using explicit tests for allocation overflow whenever possible %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy 9d28b40152 rehashes string table always allocating a new array instead of %!s(int64=7) %!d(string=hai) anos
  Roberto Ierusalimschy 6d998055c8 no more reference 'memerrmsg' + new reference to "n" %!s(int64=8) %!d(string=hai) anos
  Roberto Ierusalimschy f230898ad6 tiny code refactoring in 'luaS_hash' %!s(int64=9) %!d(string=hai) anos
  Roberto Ierusalimschy d356183402 new function 'luaS_hashlongstr' %!s(int64=9) %!d(string=hai) anos
  Roberto Ierusalimschy df45f7118b detail (added assertion) %!s(int64=9) %!d(string=hai) anos
  Roberto Ierusalimschy 9fae7b6d3f code for string cache generalized for "associative sets" (compiler %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy ee5edb6b68 macros 'getaddrstr' and 'getstr' unified (they do the same thing) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 41964648ee long strings are created directly in final position when possible %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy a5cbb7c3a7 detail (i + 1 > exp is simply i >= exp) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 6645bb2df4 'strcache' elements as arrays of 1 element hints that cache can %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy b436ed58a3 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy a80cada914 new cache for interning strings %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 7e2015a46d size of short strings stored in a single byte, to reduce the size %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 17ee57f8e0 'iswhite' and related macros now can work directly on any object %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy bb12903120 type 'Udata' refers directly to structure inside the union (union %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union %!s(int64=11) %!d(string=hai) anos