August 26, 2010
View e8ef6f9a86

core: use const char*/str* for hash functions

Andrei Pelinescu-Onciul authored on 26/08/2010 19:40:45
June 6, 2007
View e16f999c03

- attempt to unroll one of the hash loops

Andrei Pelinescu-Onciul authored on 06/06/2007 21:56:27
February 22, 2007
View 57ff54fee8

- added case-insensitive hash functions - replaced dns case insensitve hash calc. with the version from hashes.h (and fixed a "paste error" in dns hash calculation in the process)

Andrei Pelinescu-Onciul authored on 22/02/2007 20:58:32
December 13, 2006
View e8138515fe

- hash cleanup/cosmetics: - use the "raw" hash functions from hashes.h as base for the other hashes (e.g. tm hash). This doesn't change the hash functions, just removes some extra copies. - split old hashes.h into hashes.h (more generic stuff) and str_hash.h - new_hash() is safer now (nobody uses it, but just in case...)

Andrei Pelinescu-Onciul authored on 13/12/2006 22:50:46
November 24, 2006
View c628e43aa0

- usrloc hash fix (performace): switched to a numeric string optimized hash function (which also has very good distribution for strings) - added the new hash to core's hashes.h & changes hashes.h license to openbsd style (so that anybody can use the hash functions without being forced to gpl the code)

Andrei Pelinescu-Onciul authored on 24/11/2006 17:20:08
February 7, 2006
View 93349b4eca

- named routes support in core and tm (t_on_*). e.g.: route{ route(bar); t_on_reply("reply_route"); route(1); # == route("1") ... } route[foo]{ ... } route["bar"]{ ... } route[1]{ ... } onreply_route[reply_route]{ ... }

Andrei Pelinescu-Onciul authored on 07/02/2006 01:14:57
February 2, 2006
View 65938e0e15

- more generic hash functions - named flags support: the flags can now have names Example: flags a, b:6, test_flag; # b is set to the 6 flag, the rest are # allocated automatically route{ setflag(test_flag); ... }

Andrei Pelinescu-Onciul authored on 02/02/2006 19:29:21