Recent Forum Threads

Forum handmade.network
Post date Sept. 7, 2016, 5:53 p.m.

Compile time string hashing with C++ constexpr VS. your own preprocessor


Yesterday I was working on adding compile time hashing of strings to my game engine. I use string…

Recent Forum Replies

Forum handmade.network
Post date Sept. 9, 2016, 10:53 a.m.

Compile time string hashing with C++ constexpr VS. your own preprocessor

Marthog Do you have the hashes in a header file, so that they get instanciated multiple times? No.
Forum handmade.network
Post date Sept. 7, 2016, 9:28 p.m.

Compile time string hashing with C++ constexpr VS. your own preprocessor

graeme Here is a C preprocessor based compile time hash from lolengine. So using clang++ 3.8.1 o…
Forum Code
Post date Sept. 7, 2016, 8:30 p.m.

C pointer casting rules

So you're assumptions so far are pretty much right but you have to remember, that the stack usual…
Forum handmade.network
Post date Sept. 7, 2016, 8:14 p.m.

Compile time string hashing with C++ constexpr VS. your own preprocessor

mmozeiko At least its not recursive, so it should be faster. I see, you're right. I assumed it w…
Forum handmade.network
Post date Sept. 7, 2016, 7:28 p.m.

Compile time string hashing with C++ constexpr VS. your own preprocessor

mmozeiko Was your 289.8s test compiled with or without optimizations? Everything was compiled wi…