WL#4481: Falcon Engine - Make hash table sizes power of two

Affects: WorkLog-3.4 — Status: Complete — Priority: Medium

Falcon hash table sizes are not currently forced to a power of two.  Thus the
accessors must use mod and div operations.

This change will make the hash tables sized to a power of two and use bit
masking operations for accessors.  Div and Mod operations take many CPU clock
cycles to complete.  Bit masking operations are relatively cheap.  This will
reduce the lock hold times and increase performance.

You must be logged in to tag this worklog

No Comments yet

Votes

Not yet rated.
You must be logged in to vote.

Watches

0 members are watching this worklog
You must be logged in to track this worklog.

Provide Feedback

Please note:
HTML will be purified, but we allow for a number of HTML tags so that you have the flexibility to decorate your comment text to some extent. The comments allow the following HTML tags:

strong, b, em, blockquote, a, code, pre

To put code into your comment, simply encapsulate your code with
[code language="XXX"][/code], where XXX is any common language, for instance "PHP", "SQL", "C", etc.



You must be logged in to comment