• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Lookup Tables C Code Generator Download

Lookup Tables C Code Generator

January 26, 2009
Generate C code quickly and easily with two command line tools.
Version 1.89198
License GPL v3
Platform Linux
Supported Languages English
Homepage www.theiling.de
Developed by Henrik Theiling
Lookup Tables C Code Generator is a software that offers two distinct but equally useful command line tools for generating C code that implements lookup tables. The first of these tools is designed for integer keys, while the second is intended for string keys.

One practical application of this software is in implementing Unicode support, where a lot of lookup tables are required for sparse, non-contiguous integer sets. With this software's mkhashtable, one can easily create a hash table to obtain a compact and quick static hash table with minimal hassle.

mkhashtable is especially useful for integer hashing, as it generates an integer lookup table with a similar idea to gperf. The primary difference is that the input keys are not strings, but integers. This makes it an ideal tool for people who have a set of integers they wish to look up or map to other values, i.e., individuals who require an integer dictionary.

This tool is especially helpful if the integer set isn't contiguous. Essentially, mkhashtable is a C++ application that pre-computes a two-bucket cuckoo hash table using a set of integers. The outcome is a highly compressed table that typically has a utilization of 80%, can be connected statically to your program, and offers extremely fast lookup times, with the worst case being O(1) with maximally two hash operations.

In addition, the hash table computation process is quick, as the tool allows you to tweak the generation algorithm for large sets and trade generation speed for table utilization as needed. Cuckoo hash tables are effective on modern processors with caches since they eliminate the heap-wide distributed linked lists typically used by chaining hashing methods. All keys and values are stored in one contiguous block of memory, making for a faster lookup.

Future versions of the mkhashtable tool will allow people to generate different types of cuckoo hash tables with varying numbers of buckets and hash functions to compress the tables even further, albeit with a tradeoff of lookup speed.

The second tool offered by Lookup Tables C Code Generator is called mkstringswitch, which is meant for string dictionaries. This tool is similar to gperf since it takes a specification and generates C code, but the technique for lookup is different. Instead of finding a hash function, mkstringswitch uses switch() + memcmp/strcmp to recursively search for the strings.

This tool is ideal for people looking to use large sets where gperf takes too long to compute a solution or for small sets where they may have forgotten how to use gperf and just want code quickly. Overall, Lookup Tables C Code Generator is an ideal software tool for people looking to generate highly compressed, quick lookup hash tables in C.
What's New

Version 1.89198: N/A

Free Download 710K
358
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Monsoon
Monsoon is a BitTorrent client that runs on the GTK platform. It ...
SnakeBite MP3 Converter
SnakeBite MP3 Converter is a program that quickly and easily converts your ...
Humai Trader
Humai Trader is a java-based, open-source stock technical analysis tool that comes ...
mpgutils
Mpgutils software package includes Python-based generic tools for ease of use with ...
cciss_vol_status
This program is a simple tool that monitors the condition of logical ...
KevEdit
KevEdit is an advanced ZZT world editor, offering enhanced functionality beyond the ...
AutoInclude
AutoInclude is a script for Vim that automatically adds #include statements to ...
BeeDiff
BeeDiff is a user-friendly software that helps compare two text files effortlessly. ...
Voyage Linux
Voyage Linux is a custom-built Debian Sarge-based operating system that is designed ...
Data::StackedMap
This software stores key/value pairs in a stacked format.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.